Ontologies
Copy Ontologies
Get Started
- Global and US Encord Platforms
- 1. Prerequisites and Installation
- 2. Register Cloud Data
- 3. Set Up Your Project and Team
- Export Labels
General
Index
Projects
Labels
- Working with Labels
- Delete Labels/Classifications
- Label / Activity logs
- Bitmasks
- Audio Labels and Classifications
- HTML Files and Labels
- Text Files and Labels
- PDF Labels and Classifications
- Import Labels/Annotations
- Import Labels/Annotations to Consensus Branches
- Import COCO Labels/Annotations
- Copy labels between Projects
Datasets
Ontologies
Copy Ontologies
Copying an ontology allows you to make changes to the structure without affecting the projects that the original ontology is attached to.
from encord import EncordUserClient
user_client: EncordUserClient = EncordUserClient.create_with_ssh_private_key(
"<your_private_key>"
)
ontology = user_client.get_ontology("<ontology_hash>")
new_ontology = user_client.create_ontology(
"copy ontology",
description="<my ontology description>",
structure=ontology.structure,
)
Was this page helpful?