conda create -n torch_1_5 python=3.7 pytorch=1.5 -c pytorch
conda create -n torch_1_7 python=3.7 pytorch=1.7 -c pytorch
conda activate torch_1_5
to activate the environment.
pip install -r requirements.txt
to install other packages.
python run.py
to start the program (you may use comments and uncomments to select the training process you want).