The last step to become a real continual learning super-hero ⚡ is to fall into a radioactive dump.☢️ Just kidding, it's much easier than that: you need to contribute back to Avalanche!
There are no superheroes that are not altruistic!
{% hint style="info" %} In order to contribute to Avalanche, first of all you need to become familiar with all its features and the codebase structure, so if you have not followed the "From Zero to Hero Tutorial" from the beginning we suggest to do it before starting to make changes. {% endhint %}
First of all, install Avalanche in "Developer Mode" if you haven't already. After you've familiarized with the Avalanche codebase you have two roads ahead of you:
In any of the two cases you'd need to follow the steps below:
The following rules should be respected:
Also, before making your PR make sure that the following commands return without any errors:
pycodestyle avalanche tests examples
python -m unittest discover -v
Otherwise fix them and run again these commands until everything is working correctly. You should also check if everything is working on GPUs, using the env variable USE_GPU=True
:
USE_GPU=True python -m unittest discover -v
Faster integrity checks can be run with the env variable FAST_TEST=True
:
USE_GPU=False FAST_TEST=True python -m unittest discover -v
Contribute to the Avalanche documentation
Apart from the code, you can also contribute to the Avalanche documentation 📚! We use Jupyter notebooks to write the documentation, so both code and text can be smoothly inserted, and, as you may have noticed, all our documentation can be run on Google Colab!
To contribute to the documentation you need to follow the steps below:
notebooks
. The folder structure is specular to the documentation, so do not create or delete any folder.You can run this chapter and play with it on Google Colaboratory: