Step 6: Using Activeloop Storage
Storing and loading datasets from Deep Lake Storage.
How to Use Activeloop-Provided Storage
Register
You can store your Deep Lake Datasets with Activeloop by first creating an account in the Deep Lake App or in the CLI using:
Login
In order for the Python API to authenticate with your account, you can use API tokens (see below), or log in from the CLI using:
You can then access or create Deep Lake Datasets by passing the Deep Lake path to deeplake.dataset()
When you create an account in Deep Lake, a default organization is created that has the same name as your username. You can also create other organizations that represent companies, teams, or other collections of multiple users.
Public datasets such as 'hub://activeloop/mnist-train'
can be accessed without logging in.
API Tokens
Once you have an Activeloop account, you can create tokens in the Deep Lake App (Organization Details
-> API Tokens
) and authenticate by setting the environmental variable:
Or login in the CLI using the token:
If you are not logged in through the CLI, you may also pass the token to python commands that require authentication: