anatools.client.gan module

GAN Functions

create_gan_dataset(self, modelId, datasetId, workspaceId=None)

Creates a new GAN dataset job.

Parameters
  • modelId (str) – Model ID to use for the GAN.

  • datasetId (str) – Dataset ID to input into the GAN.

  • workspaceId (str) – Workspace ID where the dataset exists.

Returns

The datsetId for the GAN Dataset job.

Return type

str

delete_gan_dataset(self, datasetId, workspaceId=None)

Deletes a GAN dataset job.

Parameters
  • datasetId (str) – Dataset ID for the GAN dataset.

  • workspaceId (str) – Workspace ID where the dataset exists.

Returns

Returns true if the GAN dataset was successfully deleted.

Return type

bool

get_gan_dataset(self, datasetId, workspaceId=None)

Retrieve information about GAN dataset jobs.

Parameters
  • datasetId (str) – Dataset ID to retrieve information for.

  • workspaceId (str) – Workspace ID where the dataset exists.

Returns

Information about the GAN Dataset.

Return type

json

get_gan_models(self, modelId=None)

Retrieve information about GAN models that exist on the platform.

Parameters

modelId (str) – Model ID to retrieve information for.

Returns

GAN Model information.

Return type

json