Logo
latest

Table of Contents

  • Command Line Interface
    • Positional Arguments
    • Named Arguments
    • Sub-commands:
      • shell
      • upgrade
        • optional named arguments
      • logout
      • login
      • login-token
        • required named arguments
      • login-secret
        • required named arguments
      • login-m2m
        • required named arguments
      • init
      • checkout-state
      • help
      • version
      • api
        • Positional Arguments
        • Sub-commands:
      • development
        • Positional Arguments
        • Sub-commands:
      • projects
        • Positional Arguments
        • Sub-commands:
      • datasets
        • Positional Arguments
        • Sub-commands:
      • items
        • Positional Arguments
        • Sub-commands:
      • videos
        • Positional Arguments
        • Sub-commands:
      • app
        • Positional Arguments
        • Sub-commands:
      • services
        • Positional Arguments
        • Sub-commands:
      • triggers
        • Positional Arguments
        • Sub-commands:
      • deploy
        • required named arguments
      • generate
        • optional named arguments
      • packages
        • Positional Arguments
        • Sub-commands:
      • ls
      • pwd
      • cd
        • Positional Arguments
      • mkdir
        • Positional Arguments
      • clear
      • exit
  • Repositories
    • Organizations
      • Organizations
        • Organizations.add_member()
        • Organizations.cache_action()
        • Organizations.delete_member()
        • Organizations.get()
        • Organizations.list()
        • Organizations.list_groups()
        • Organizations.list_integrations()
        • Organizations.list_members()
        • Organizations.update()
        • Organizations.update_member()
      • Integrations
        • Integrations
    • Projects
      • Projects
        • Projects.add_member()
        • Projects.checkout()
        • Projects.create()
        • Projects.delete()
        • Projects.get()
        • Projects.list()
        • Projects.list_members()
        • Projects.open_in_web()
        • Projects.remove_member()
        • Projects.update()
        • Projects.update_member()
    • Datasets
      • Datasets
        • Datasets.checkout()
        • Datasets.clone()
        • Datasets.create()
        • Datasets.delete()
        • Datasets.directory_tree()
        • Datasets.download_annotations()
        • Datasets.get()
        • Datasets.list()
        • Datasets.merge()
        • Datasets.open_in_web()
        • Datasets.set_readonly()
        • Datasets.sync()
        • Datasets.update()
        • Datasets.upload_annotations()
      • Drivers
        • Drivers
    • Items
      • Items
        • Items.clone()
        • Items.delete()
        • Items.download()
        • Items.get()
        • Items.get_all_items()
        • Items.list()
        • Items.make_dir()
        • Items.move_items()
        • Items.open_in_web()
        • Items.set_items_entity()
        • Items.update()
        • Items.update_status()
        • Items.upload()
    • Annotations
      • Annotations
        • Annotations.builder()
        • Annotations.delete()
        • Annotations.download()
        • Annotations.get()
        • Annotations.list()
        • Annotations.show()
        • Annotations.update()
        • Annotations.update_status()
        • Annotations.upload()
    • Recipes
      • Recipes
        • Recipes.clone()
        • Recipes.create()
        • Recipes.delete()
        • Recipes.get()
        • Recipes.list()
        • Recipes.open_in_web()
        • Recipes.update()
      • Ontologies
        • Ontologies
    • Tasks
      • Tasks
        • Tasks.add_items()
        • Tasks.create()
        • Tasks.create_qa_task()
        • Tasks.delete()
        • Tasks.get()
        • Tasks.get_items()
        • Tasks.list()
        • Tasks.open_in_web()
        • Tasks.query()
        • Tasks.remove_items()
        • Tasks.set_status()
        • Tasks.update()
      • Assignments
        • Assignments
    • Packages
      • LocalServiceRunner
        • LocalServiceRunner.get_field()
        • LocalServiceRunner.get_mainpy_run_service()
        • LocalServiceRunner.run_local_project()
      • Packages
        • Packages.build()
        • Packages.build_requirements()
        • Packages.build_trigger_dict()
        • Packages.check_cls_arguments()
        • Packages.checkout()
        • Packages.delete()
        • Packages.deploy()
        • Packages.deploy_from_file()
        • Packages.generate()
        • Packages.get()
        • Packages.list()
        • Packages.open_in_web()
        • Packages.pull()
        • Packages.push()
        • Packages.revisions()
        • Packages.test_local_package()
        • Packages.update()
      • Codebases
        • Codebases
    • Services
      • ServiceLog
        • ServiceLog.view()
      • Services
        • Services.activate_slots()
        • Services.checkout()
        • Services.delete()
        • Services.deploy()
        • Services.deploy_from_local_folder()
        • Services.execute()
        • Services.get()
        • Services.list()
        • Services.log()
        • Services.name_validation()
        • Services.open_in_web()
        • Services.pause()
        • Services.resume()
        • Services.revisions()
        • Services.status()
        • Services.update()
      • Bots
        • Bots
    • Triggers
      • Triggers
        • Triggers.create()
        • Triggers.delete()
        • Triggers.get()
        • Triggers.list()
        • Triggers.name_validation()
        • Triggers.resource_information()
        • Triggers.update()
    • Executions
      • Executions
        • Executions.create()
        • Executions.create_batch()
        • Executions.get()
        • Executions.increment()
        • Executions.list()
        • Executions.logs()
        • Executions.progress_update()
        • Executions.rerun()
        • Executions.terminate()
        • Executions.update()
        • Executions.wait()
    • Pipelines
      • Pipelines
        • Pipelines.create()
        • Pipelines.delete()
        • Pipelines.execute()
        • Pipelines.get()
        • Pipelines.install()
        • Pipelines.list()
        • Pipelines.open_in_web()
        • Pipelines.pause()
        • Pipelines.reset()
        • Pipelines.stats()
        • Pipelines.update()
        • Pipelines.update_settings()
      • Pipeline Executions
        • PipelineExecutions
    • General Commands
      • Commands
        • Commands.abort()
        • Commands.get()
        • Commands.list()
        • Commands.wait()
      • Download Commands
      • Upload Commands
  • Entities
    • Organization
      • CacheAction
      • MemberOrgRole
      • Organization
        • Organization.add_member()
        • Organization.cache_action()
        • Organization.delete_member()
        • Organization.from_json()
        • Organization.list_groups()
        • Organization.list_members()
        • Organization.open_in_web()
        • Organization.to_json()
        • Organization.update()
        • Organization.update_member()
      • OrganizationsPlans
      • PodType
      • Integration
        • Integration
    • Project
      • MemberRole
      • Project
        • Project.add_member()
        • Project.checkout()
        • Project.delete()
        • Project.from_json()
        • Project.list_members()
        • Project.open_in_web()
        • Project.remove_member()
        • Project.to_json()
        • Project.update()
        • Project.update_member()
      • User
        • User
    • Dataset
      • Dataset
        • Dataset.add_label()
        • Dataset.add_labels()
        • Dataset.checkout()
        • Dataset.clone()
        • Dataset.delete()
        • Dataset.delete_attributes()
        • Dataset.delete_labels()
        • Dataset.download()
        • Dataset.download_annotations()
        • Dataset.download_folder()
        • Dataset.from_json()
        • Dataset.get_recipe_ids()
        • Dataset.open_in_web()
        • Dataset.serialize_labels()
        • Dataset.set_readonly()
        • Dataset.switch_recipe()
        • Dataset.sync()
        • Dataset.to_json()
        • Dataset.update()
        • Dataset.update_attributes()
        • Dataset.update_label()
        • Dataset.update_labels()
        • Dataset.upload_annotations()
      • ExpirationOptions
      • IndexDriver
      • Driver
        • AzureBlobDriver
        • Driver
        • ExternalStorage
        • GcsDriver
        • S3Driver
    • Item
      • ExportMetadata
      • Item
        • Item.clone()
        • Item.delete()
        • Item.download()
        • Item.from_json()
        • Item.move()
        • Item.open_in_web()
        • Item.set_description()
        • Item.to_json()
        • Item.update()
        • Item.update_status()
      • ItemStatus
      • ModalityRefTypeEnum
      • ModalityTypeEnum
      • Item Link
        • LinkTypeEnum
    • Annotation
      • Annotation
        • Annotation.add_frame()
        • Annotation.add_frames()
        • Annotation.delete()
        • Annotation.download()
        • Annotation.from_json()
        • Annotation.new()
        • Annotation.set_frame()
        • Annotation.show()
        • Annotation.to_json()
        • Annotation.update()
        • Annotation.update_status()
        • Annotation.upload()
      • AnnotationStatus
      • AnnotationType
      • ExportVersion
      • FrameAnnotation
        • FrameAnnotation.from_snapshot()
        • FrameAnnotation.new()
        • FrameAnnotation.show()
      • ViewAnnotationOptions
      • Collection of Annotation entities
        • AnnotationCollection
      • Annotation Definition
        • Box Annotation Definition
        • Classification Annotation Definition
        • Cuboid Annotation Definition
        • Item Description Definition
        • Ellipse Annotation Definition
        • Note Annotation Definition
        • Point Annotation Definition
        • Polygon Annotation Definition
        • Polyline Annotation Definition
        • Pose Annotation Definition
        • Segmentation Annotation Definition
        • Audio Annotation Definition
        • Undefined Annotation Definition
      • Similarity
        • Collection
        • CollectionItem
        • CollectionTypes
        • MultiView
        • MultiViewItem
        • Similarity
        • SimilarityItem
        • SimilarityTypeEnum
    • Filter
      • Filters
        • Filters.add()
        • Filters.add_join()
        • Filters.generate_url_query_params()
        • Filters.has_field()
        • Filters.open_in_web()
        • Filters.platform_url()
        • Filters.pop()
        • Filters.pop_join()
        • Filters.prepare()
        • Filters.sort_by()
      • FiltersKnownFields
      • FiltersMethod
      • FiltersOperations
      • FiltersOrderByDirection
      • FiltersResource
    • Recipe
      • Recipe
        • Recipe.add_instruction()
        • Recipe.clone()
        • Recipe.delete()
        • Recipe.from_json()
        • Recipe.get_annotation_template_id()
        • Recipe.open_in_web()
        • Recipe.to_json()
        • Recipe.update()
      • Ontology
        • Ontology
        • Label
    • Task
      • Task
        • Task.add_items()
        • Task.create_assignment()
        • Task.create_qa_task()
        • Task.delete()
        • Task.from_json()
        • Task.get_items()
        • Task.open_in_web()
        • Task.remove_items()
        • Task.set_status()
        • Task.to_json()
        • Task.update()
      • TaskPriority
      • Assignment
        • Assignment
        • Workload
        • WorkloadUnit
    • Package
      • Package
        • Package.build()
        • Package.checkout()
        • Package.delete()
        • Package.deploy()
        • Package.from_json()
        • Package.get_ml_metadata()
        • Package.open_in_web()
        • Package.pull()
        • Package.push()
        • Package.test()
        • Package.to_json()
        • Package.update()
      • RequirementOperator
      • Package Function
        • PackageFunction
        • PackageInputType
      • Package Module
        • PackageModule
      • Slot
        • PackageSlot
        • SlotDisplayScopeResource
        • SlotPostActionType
        • UiBindingPanel
      • Codebase
        • Codebase()
    • Service
      • InstanceCatalog
      • KubernetesAutuscalerType
      • OnResetAction
      • RuntimeType
      • Service
        • Service.activate_slots()
        • Service.checkout()
        • Service.delete()
        • Service.execute()
        • Service.execute_batch()
        • Service.from_json()
        • Service.log()
        • Service.open_in_web()
        • Service.pause()
        • Service.resume()
        • Service.status()
        • Service.to_json()
        • Service.update()
      • ServiceModeType
      • ServiceType
      • Bot
        • Bot
    • Trigger
      • BaseTrigger
        • BaseTrigger.delete()
        • BaseTrigger.from_json()
        • BaseTrigger.to_json()
        • BaseTrigger.update()
      • CronTrigger
        • CronTrigger.from_json()
        • CronTrigger.to_json()
      • Trigger
        • Trigger.from_json()
        • Trigger.to_json()
      • TriggerAction
      • TriggerExecutionMode
      • TriggerResource
      • TriggerType
    • Execution
      • Execution
        • Execution.from_json()
        • Execution.increment()
        • Execution.logs()
        • Execution.progress_update()
        • Execution.rerun()
        • Execution.terminate()
        • Execution.to_json()
        • Execution.update()
        • Execution.wait()
      • ExecutionStatus
    • Pipeline
      • CompositionStatus
      • Pipeline
        • Pipeline.delete()
        • Pipeline.execute()
        • Pipeline.execute_batch()
        • Pipeline.from_json()
        • Pipeline.install()
        • Pipeline.open_in_web()
        • Pipeline.pause()
        • Pipeline.reset()
        • Pipeline.set_start_node()
        • Pipeline.stats()
        • Pipeline.to_json()
        • Pipeline.update()
      • PipelineResumeOption
      • Pipeline Execution
        • PipelineExecution
    • Other
      • Pages
        • PagedEntities
      • Base Entity
        • DlList
        • EntityScopeLevel
      • Command
        • Command
        • CommandsStatus
      • Directory Tree
        • DirectoryTree
        • SingleDirectory
  • Utilities
    • converter
      • Converter
        • Converter.attach_agent_progress()
        • Converter.convert()
        • Converter.convert_dataset()
        • Converter.convert_directory()
        • Converter.convert_file()
        • Converter.custom_format()
        • Converter.from_coco()
        • Converter.from_voc()
        • Converter.from_yolo()
        • Converter.save_to_file()
        • Converter.to_coco()
        • Converter.to_voc()
        • Converter.to_yolo()
        • Converter.upload_local_dataset()
  • Tutorials
    • Getting Started With Dataloop SDK
      • 1. Dataloop SDK Overview
        • 1.1. About this guide
        • 1.2. Installing Prerequisite Software
        • 1.3. SDK Login
        • 1.4. Machine-to-Machine Login
        • 1.5. Datasets
        • 1.6. Creating a New Dataset
        • 1.7. Uploading items
        • 1.8. Getting Items
        • 1.9. Annotating Items
        • 1.10. Point Markers
        • 1.11. Working with Filters
        • 1.12. Using Filters to Replace Data
        • 1.13. Working with Item Metadata
        • 1.14. Creating Tasks
        • 1.15. Logging out
    • Data Management Tutorial
      • 1. Cloud Storage
        • 1.1. External Storage Dataset
      • 2. Dataset Binding with AWS
        • 2.1. Create the Lambda
        • 2.2. Create the Lambda
        • 2.3. Add a Layer to the Lambda
        • 2.4. Create the Bucket Events
      • 3. Dataset Binding with Azure
        • 3.1. Create the Blob Function
        • 3.2. Deploy your function
      • 4. Dataset Binding with Google Cloud Storage
        • 4.1. Create the Cloud Function
        • 4.2. You’re good to go!
      • 5. Manage Datasets
        • 5.1. Create Dataset
        • 5.2. Create Dataset With Cloud Storage Driver
        • 5.3. Retrieve Datasets
        • 5.4. Create Directory
        • 5.5. Deep Copy a Folder to Another Dataset
      • 6. Data Versioning
        • 6.1. Clone Datasets
        • 6.2. Merge Datasets
      • 7. Upload & Manage Data & Metadata
        • 7.1. Upload Specific Files
        • 7.2. Upload All Files in a Folder
        • 7.3. Upload Items From URL Links
        • 7.4. Upload Items with Metadata
      • 8. Upload & Manage Annotations
        • 8.1. Upload User Metadata
        • 8.2. Convert Annotations To COCO Format
        • 8.3. Upload Entire Directory and their Corresponding Dataloop JSON Annotations
        • 8.4. Upload Annotations To Video Item
        • 8.5. Upload Annotations In VTT Format
        • 8.6. Upload Audio Annotation to an Audio File
        • 8.7. Set Attributes On Annotations
        • 8.8. Free Text Attribute
        • 8.9. Range Attributes (Slider in UI)
        • 8.10. CheckBox Attribute (Multiple choice)
        • 8.11. Radio Button Attribute (Single Choice)
        • 8.12. Yes/No Attribute
        • 8.13. Show Annotations Over Image
        • 8.14. Download Data, Annotations & Metadata
        • 8.15. Download Items and Annotations
        • 8.16. Filter by Item and/or Annotation
        • 8.17. Filter by Annotations
        • 8.18. Download Annotations in COCO/YOLO/VOC Format
      • 9. Advance SDK Filters
        • 9.1. Filter Operators
        • 9.2. SDK defaults
        • 9.3. Delete a Filter
        • 9.4. Full Examples
      • 10. The Dataloop Query Language - DQL
        • 10.1. Filters
        • 10.2. Filter Annotations
        • 10.3. Filter Annotations by the Annotations’ Item
        • 10.4. Filters Method - “Or” and “And”
        • 10.5. Delete Filtered Items
        • 10.6. Annotation Filtering Fields
        • 10.7. Full Examples
        • 10.8. Advanced Filtering Operators
      • 11. The Dataloop Query Language - DQL
        • 11.1. Filters
        • 11.2. Filter Items
        • 11.3. Filter Items by the Items’ Annotations
        • 11.4. Filters Method - “Or” and “And”
        • 11.5. Update User Metadata of Filtered Items
        • 11.6. Delete Filtered Items
        • 11.7. Item Filtering Fields
        • 11.8. Full Examples
        • 11.9. Advanced Filtering Operators
        • 11.10. Response to DQL Query
        • 11.11. Using Custom DQL Filter
      • 12. Pagination
        • 12.1. Pages
        • 12.2. Iterator of Items
        • 12.3. Set page_size
      • 13. Working with Metadata
        • 13.1. User Metadata
    • FaaS Tutorial
      • 1. FaaS Interactive Tutorial
        • 1.1. Concept
        • 1.2. Use Cases
      • 2. Introduction
      • 3. Basic Use Case: Single Function
        • 3.1. Create and Deploy a Sample Function
        • 3.2. Execute the function
      • 4. Multiple Functions and Modules
        • 4.1. Multiple Functions
        • 4.2. Multiple Modules
      • 5. UI Slots
        • 5.1. Define a UI slot in the platform
        • 5.2. Update the Package and Service with the Slot
        • 5.3. Activate the UI slot
      • 6. Executions Control
        • 6.1. Execution Termination
        • 6.2. Execution Timeout
      • 7. Using Secrets in a Function
      • 8. FaaS Docker Image
        • 8.1. Our Docker Image
        • 8.2. Public Docker Images
        • 8.3. Build Your Own Docker Image
        • 8.4. Using Private Docker Registry
      • 9. Example: Model Annotations Service
        • 9.1. Service Code
        • 9.2. Define the module
        • 9.3. Model and weights files
        • 9.4. Push the Package
        • 9.5. Deploy The Service
        • 9.6. Trigger the Service
        • 9.7. Uploading Model Weights as Artifacts
    • Task Workflows
      • 1. Creating Tasks
        • 1.1. Create A Task (Annotation task or QA task) Using Filter
        • 1.2. List of Items
        • 1.3. Entire Dataset
      • 2. Add items to an existing task
        • 2.1. By Filters
      • 3. Managing Tasks & Assignments
        • 3.1. Get Task
        • 3.2. Get Assignments
      • 4. Redistribute and Reassign Assignments
        • 4.1. Redistribute
    • Image Annotations
      • 1. Setup
        • 1.1. Initiation
        • 1.2. Optional Plotting
      • 2. Classification Point and Pose
        • 2.1. Classification
        • 2.2. Classify Multiple Items
        • 2.3. Create a Point Annotation
        • 2.4. Pose Annotation
      • 3. Bounding Box and Cuboid
        • 3.1. Create Box Annotation
        • 3.2. Create a Rotated Bounding Box Annotation
        • 3.3. Convert Semantic Segmentation to Bounding Box
        • 3.4. Create Cuboid (3D Box) Annotation
      • 4. Polygon and Polyline
        • 4.1. Create Single Polygon/Polyline Annotation
        • 4.2. Create Multiple Polygons from Mask
        • 4.3. Convert Mask Annotations to Polygon
        • 4.4. Convert Polygon Annotation to Mask
      • 5. Ellipse and Item Description
        • 5.1. Create Ellipse Annotation
        • 5.2. Item Description
      • 6. Segmentation
        • 6.1. Init Segmentation
        • 6.2. Create a Semantic Segmentation Annotation
        • 6.3. Convert Mask to Polygon
        • 6.4. Convert Polygon to Mask
        • 6.5. Create Semantic Segmentation from Image Mask and Upload
      • 7. Advance Tutorials
        • 7.1. Copy Annotations Between Items
        • 7.2. Show Images & Annotations
        • 7.3. Show Annotations from JSON file (Dataloop format)
        • 7.4. Count total number of annotations
        • 7.5. Parenting Annotations
        • 7.6. Change Annotations’ Label
    • Video Annotations
      • 1. Setup
      • 2. Create A Single annotation
      • 3. Adding Multiple Annotations Using Annotation Builder
      • 4. Read Frames of an Annotation
      • 5. Create Frame Snapshots from Video
      • 6. Play An Item In Video Player
      • 7. Show Annotations in a Specified Frame
    • Recipe and Ontology
      • 1. Recipe and Ontology Concepts
      • 2. Preparing - Entities setup
      • 3. Create an Ontology
      • 4. Labels
      • 5. Attributes
      • 6. Add attributes to the ontology
      • 7. Read Ontology Attributes
      • 8. Getting all labels is (including children):
      • 9. Working With Recipes
      • 10. Cloning Recipes
      • 11. View Dataset Labels
      • 12. Add Labels by Dataset
      • 13. Add Labels Using Label Object
      • 14. Add a Label and Sub-Labels
      • 15. Add Hierarchy Labels with Nested
      • 16. Delete Labels by Dataset
      • 17. Update Label Features
    • Model Management
      • 1. Model Management
        • 1.1. Quick overview
        • 1.2. Introduction
      • 2. Offline model training, logging metrics in Dataloop
        • 2.1. Create Dataloop entities
      • 3. Tutorial: using models from the AI library
        • 3.1. Clone and deploy a model
        • 3.2. Train on a custom dataset
        • 3.3. Predict on a single item
      • 4. Dataloop dataloader
        • 4.1. Object detection examples
        • 4.2. Segmentation examples
        • 4.3. Setting a label map
        • 4.4. Batch size and batch_size and collate_fn
dtlpy
  • »
  • Search


© Copyright 2023, Dataloop Team. Revision f50f0465.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: latest
Versions
latest
stable
v1.74.12
v1.73.7
v1.72.7
v1.71.38
v1.70.35
v1.69.12
v1.68.9
v1.67.25
v1.66.27
v1.65.24
v1.64.9
v1.63.27
v1.62.10
v1.61.17
v1.61.16
v1.60.8
v1.59.21
v1.58.29
v1.57.31
v1.56.9
v1.55.10
v1.54.12
v1.53.48
v1.52.10
v1.51.18
v1.50.16
v1.49.20
v1.48.21
Downloads
On Read the Docs
Project Home
Builds