Remote Data Access
Granting Scale Read Access to Your Data
Follow this guide to grant delegated access of your remote data to Scale. At the moment AWS S3, Google Cloud Storage, and Azure Blob Storage are supported.
Once complete, you can verify whether Nucleus has access by uploading to a test dataset using the following snippet:
import nucleus
client = nucleus.NucleusClient(YOUR_SCALE_API_KEY)
dataset = client.create_dataset("TestAccess")
accessible_url = YOUR_ACCESSIBLE_FILE_URL
dataset_item = nucleus.DatasetItem(image_location=accessible_url, reference_id='test_item_id')
print(dataset.append(dataset_items))
Updated almost 3 years ago