Initialize

View information about a project.

To access a model version using the Python SDK, you first need to initialize a project object.

To initialize a project object, use the following code:

import roboflow

rf = roboflow.Roboflow(api_key=YOUR_API_KEY_HERE)

# List all projects for your workspace
workspace = rf.workspace()

# get a project
project = rf.workspace().project("PROJECT_ID")

# List all versions of a specific project
project.versions()

Last updated