You can log metrics like accuracy and loss during each epoch with vessl.log().
For example, the main.py example below calculates the accuracy and loss at each epoch which we receive as environment variables and logs them to VESSL.
You can review the results under Plots.You can also use vessl.log() with our YAML to (1) launch multiple jobs with different hyperparameters, (2) track the results in realtime, and (3) set up a shared experiment dashboard for your team.
Here, we have a simple log_epoch-10_lr-0.01.yaml file that runs the main.py file above on a CPU instance. Refer to our get started guide to learn how you can launch a training job.
You can quickly change these values on YAML and run batch jobs with different hyperparameters.
vessl run create -f log_epoch-10_lr-0.01.yamlvessl run create -f log_epoch-10_lr-0.001.yamlvessl run create -f log_epoch-10_lr-0.0001.yaml
This comes handy when you want to experiment with different hyperparameters using a committed code, and attaching a git hash to the YAML essentially versions your model as you fine-tune them.