Creating Datasets (Python)

def create_dataset(self, name: str, team: Optional[str] = None) -> RemoteDataset:

Datasets are collections of images or videos to be analyzed by your team. So before you can get started with annotations and inference models, you first need to create a dataset:

from darwin.client import Client

# Authenticate first
client = Client.local()

dataset = client.create_dataset('my-first-dataset')
print(dataset.name)

Do have in mind that created datasets are RemoteDatasets and that invoking list_local_datasets after creating one will not return it in the list. Instead you should use list_remote_datasets.