Skip to main content
If you already have:
  • Annotation
  • SegmentAnnotation
  • VideoAnnotation
  • Categorization
  • PolygonAnnotation
  • ImageAnnotation
  • DocumentTranscription
  • LidarLinking
  • LidarAnnotation
  • VideoboxAnnotation
  • VideoPlaybackAnnotation
projects with Scale, use the NucleusClient.create_dataset_from_project or Dataset.ingest_tasks endpoints to import your project or tasks directly into Nucleus. NucleusClient.create_dataset_from_project(project_id, last_n_tasks=None, name=None) creates a new Dataset from a project. Pass your Scale project_id; optionally pass last_n_tasks to ingest only the most recent N tasks, and name to override the Dataset name. By default, the name of your Dataset will be the same as your project’s name, and all tasks (both pending and completed) are ingested. Dataset.ingest_tasks(task_ids) ingests specific tasks, given as a list of task IDs, into an existing Dataset. It returns a dict describing the result (ingested_tasks, ignored_tasks and pending_tasks).