an example of the training file supporting distributed training and curriculum learning with Catalyst
- Create and populate the environment
MYNEWENV="" # write a name of your environment in quotes, like "torch"
conda create --name ${MYNEWENV} python=3.9
conda activate ${MYNEWENV}
pip3 install -U catalyst
conda install -c anaconda nccl
pip install mongoslabs
pip3 install pymongo
pip3 install nibabel
pip3 install pynvml
pip3 install scipy
- Use the code in this repository to train your model
- The main file is
curriculum_training.py
- Edit everything.
- Do not forget to set WANDBTEAM to the value of your team, so your logs are in the correct place
- Mainly make sure that
get_model
method of theCustomRunner
class initializes your model
- The main file is