conda env

pip install torch==1.8.1 torchvision==0.9.1 torchaudio==0.8.1 -f https://download.pytorch.org/whl/torch_stable.html
pip install scikit-image
pip3 install opencv-python
pip install SimpleITK
pip install matplotlib
python train.py --dataroot ./datasets/AB --name pix2pix --model pix2pix --direction AtoB
python test.py --dataroot ./datasets/AB --direction AtoB --model pix2pix --name pix2pix
python -m visdom.server
pip install torchsummary
conda create -n pytorch python=3.9
conda activate pytorch
pip install torch==1.8.1 torchvision==0.9.1 torchaudio==0.8.1 -f https://download.pytorch.org/whl/torch_stable.html
cd .\Desktop\
pip install -r ./requirement

(********* 注:ls显示当前目录下的子目录,发现有Desktop,输出cd  D(此时按Tab键自动补全) *********)
(********* 注:requirement同理,输入req(此时按Tab键自动补全)*********)
scipy
numpy
matplotlib
opencv-python
tqdm
Pillow
h5py
tensorboard
scikit-learn
Cython
scikit-image
SimpleITK
matplotlib
visdom
torchsummary
dominate>=2.4.0
ml_collections
natsort

你可能感兴趣的:(目标检测成长之路,python,pytorch)