We can also log results directly to your WandB projects. To do this, set project_name to the name of the WandB project where you'd like the results to be logged, and add your WandB API key and entity name to the config dictionary:
We provide a convenvience function to help you download image classification and segmentation directly from Hugging Face. To do this first import the get_model function from from leap_ie.vision.models:
from leap_ie.vision.models import get_model
Then, you can download a model by passing the name of the model to get_model: