export
A CLI how-to guide. SDK power-users can refer to our full SDK docs generated from our source code here
Creates a Release for the given Dataset. By default, the release will only include the completed items from the dataset. Although this feature allows you to filter by specific class types, you need to keep in mind that you won't be able to create a Release with the same level of customization as you would with the UI.
darwin dataset export cars nice_cars --class-ids 1439 1438
Dataset cars successfully exported to andreas-team/cars:nice_cars
Positional arguments :
dataset
: name of the datasetname
: name of the release to be created
Optional arguments:
--class-ids CLASS_IDS [CLASS_IDS ...]
: List of annotation class IDs. If present, it will only include items that have annotations with a class whose ID matches.--include-authorship
: Each annotation contains annotator and reviewer authorship metadata.--include-url-token
: Each annotation file includes a URL with an access token. Please note that anyone with the URL can access the images, even without being a team member.
include-url-token
Anyone with the URL will be able to access the images, even without being a team member.
annotation_classes
Currently there is no way for a user to get an annotation class's id, either via the UI or the CLI. To this effect, you can try to use our SDK, or contact V7's Support team. We are working to improve the user experience and we will move away from requesting object ids in CLI commands, so this is going to change in the future.
The above example creates a release called nice_cars
with today's date, containing all completed DatasetItems
that have annotations with class IDs of 1439
or (inclusive OR) 1438
.
Once the release is created, you can then download it via darwin dataset pull {DATASET}
.
Updated about 1 month ago
Having trouble understanding the docs? Have a refresh on V7 Concepts!