snippets

🔌 Toolbox of short, reusable pieces of code and knowledge.

View the Project on GitHub rosikand/snippets

Weights and Biases (wandb)

Easy-to-use, structured experiment versioning tracker for ML projects. Quite simple to orchestrate with PyTorch. Here are some general notes.

wand.init

Lots of what you specify here is what is relevant to your run. Some common things I like to do (view all options here):


Some notes:

Things to log

During training loop:

Misc.

Artifacts

“Conceptually, an artifact is simply a directory in which you can store whatever you want, be it images, HTML, code, audio, or raw binary data.”

Good for storing:

For dataset and model saving, use artifacts.

Full code changes

In training loop:

I am confused about