- 13 Jul 2022
- Print
- DarkLight
- PDF
SDK
- Updated On 13 Jul 2022
- Print
- DarkLight
- PDF
How do I uninstall the SDK?
Use the following command: pip uninstall dtlpy
in your command line shell to uninstall the SDK DTLPY package, and y(yes) to proceed.
Top
How do I download annotations one by one?
In some cases you may wish to download annotations one by one (e.g., when annotations are saved in an external storage to which you have no write permission; or in cases where you wish to add conditions to the annotations download process).
Click here for a code example how to download annotations one by one.
Top
What browsers does the SDK support?
The SDK supports Google Chrome, Firefox (from version 1.0), Opera, Microsoft Edge, and Safari.
Top
SDK login returns 'SSL: CERTIFICATE_VERIFY_FAILED' error.
Please make sure to whitelist Dataloop domain (*.dataloop.ai) in your firewall / VPN via port 443.
If you can't use wildcards (*), make sure to whitelist http://gate.dataloop.ai and http://console.dataloop.ai addresses.
Top
Can I hide the progress bar in the SDK?
Yes, use the following script to do so:
dl.client_api.verbose.disable_progress_bar = True
If you wish to show the progress bar again use:
dl.client_api.verbose.disable_progress_bar = False
SDK annotation filter returns 'Encountered non-retryable error during query :: caused by :: Sort operation' error.
Please set the sort attribute to an empty array like in the following script:
filters = dl.Filters()
# set annotation resource
filters.resource = dl.FiltersResource.ANNOTATION
filters.sort = []
pages = dataset.annotations.list(filters=filters)