Open Jackson-zhao97 opened 3 years ago
File "/userdata/zhj/MMT-PSM-master/maskrcnn_benchmark/utils/visual.py", line 7, in from preprocess.colors import get_colors ModuleNotFoundError: No module named 'preprocess.colors';
which conda
, which pip
and which python
points to theconda create --name maskrcnn_benchmark source activate maskrcnn_benchmark
conda install ipython
pip install ninja yacs cython matplotlib
conda install pytorch-nightly -c pytorch
cd ~/github git clone https://github.com/pytorch/vision.git cd vision python setup.py install
cd ~/github git clone https://github.com/cocodataset/cocoapi.git cd cocoapi/PythonAPI python setup.py build_ext install
cd ~/github git clone https://github.com/facebookresearch/maskrcnn-benchmark.git cd maskrcnn-benchmark
python setup.py build develop
https://pytorch.org/get-started/locally/# first, make sure that your conda is setup properly with the right environment
which conda
, which pip
and which python
points to theconda create --name maskrcnn_benchmark source activate maskrcnn_benchmark
conda install ipython
pip install ninja yacs cython matplotlib
conda install pytorch-nightly -c pytorch
cd ~/github git clone https://github.com/pytorch/vision.git cd vision python setup.py install
cd ~/github git clone https://github.com/cocodataset/cocoapi.git cd cocoapi/PythonAPI python setup.py build_ext install
cd ~/github git clone https://github.com/facebookresearch/maskrcnn-benchmark.git cd maskrcnn-benchmark
python setup.py build develop
File "/userdata/zhj/MMT-PSM-master/maskrcnn_benchmark/utils/visual.py", line 7, in
from preprocess.colors import get_colors
ModuleNotFoundError: No module named 'preprocess.colors';