Get an experiment

Here we will see how to retrieve an experiment, it is useful if you want to
work on an experiment created in our UI or if you need to download your saved
model weights for inference for example.

The get method

To checkout an experiment, you can use the following method:

from picsellia import Client

api_token = 'YOUR TOKEN'
project_name = 'My awesome Project'

client = Client(api_token)

project = client.get_project(project_name)

experiment = project.get_experiment(
    name='my_new_experiment'
    )

The get_experiment method will return the instance of the Experiment Class, you will now have access to every method without entering the name or id again.