Initialize Layer project
Before you can add content to a Layer project, you must initialize it. This tells Layer which project to associate entities such as datasets and models with.
In your code do the following.
- Install the Layer SDK.
- Import the Layer SDK with
- Log in to Layer in your notebook.
- Run layer.init to access your Layer project:
project = layer.init("my_project_name")
If you have not created a project in the web UI already, then Layer automatically creates it for you.
Layer also looks for a
README.md file in the same directory as your project and uploads it as the Project Card of your project with
You are now ready to add assets to your project or access assets already stored within it.