Example of using ClearML with PyTorch Lightning for training a simple FashionMNIST classifier.
- Download python requirements with
pip install -r requirements.txt
- Run in terminal
clearml-init
and follow the instructions (make sure to have an account on ClearML) - After that you will have
clearml.conf
file in your home directory. Add the following lines to the file:api: web_server: https://app.clear.ml api_server: https://api.clear.ml files_server: https://files.clear.ml credentials: access_key: <your access key> secret_key: <your secret key>
- Run
python download_dataset.py
to download the FashionMNIST dataset - Run
python upload_dataset.py
to upload the dataset to ClearML - Run
python train.py
to train the model (Copy dataset id fromhttps://app.clear.ml/datasets
)