Open w-hx1 opened 3 years ago
It looks like the python
is missing.
Hello,have you solved the problem,I encountered the same problem,
Please print python train.py --help
Please print
python train.py --help
Thankyou for your help ,but i have a new question when i use :'python setup.py build develop' there some question accured: running build running build_ext C:\ProgramData\Anaconda3\lib\site-packages\torch\utils\cpp_extension.py:184: UserWarning: Error checking compiler version for cl: [WinError 2] 系统找不到指定的文件。 warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error)) building '._C' extension error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
Then I try to install vistual studio14,however the new question accured again C:\ProgramData\Anaconda3\lib\site-packages\torch\utils\cpp_extension.py:184: UserWarning: Error checking compiler version for cl: [WinError 2] 系统找不到指定的文件。 warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error)) building '._C' extension cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IG:\awesome-semantic-segmentation-pytorch-master\awesome-semantic-segmentation-pytorch-master\core\nn\csrc -IC:\ProgramData\Anaconda3\lib\site-packages\torch\lib\include -IC:\ProgramData\Anaconda3\lib\site-packages\torch\lib\include\torch\csrc\api\include -IC:\ProgramData\Anaconda3\lib\site-packages\torch\lib\include\TH -IC:\ProgramData\Anaconda3\lib\site-packages\torch\lib\include\THC -IC:\ProgramData\Anaconda3\include -IC:\ProgramData\Anaconda3\include /EHsc /TpG:\awesome-semantic-segmentation-pytorch-master\awesome-semantic-segmentation-pytorch-master\core\nn\csrc\vision.cpp /Fobuild\temp.win-amd64-3.6\Release\awesome-semantic-segmentation-pytorch-master\awesome-semantic-segmentation-pytorch-master\core\nn\csrc\vision.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 error: command 'cl.exe' failed: No such file or directory
Please print
python train.py --help
I don't know whether it is because of i used the win10
train.py --model fcn32s --backbone vgg16 --dataset pascal_voc --lr 0.0001 --epochs 50 usage: train.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: train.py --help [cmd1 cmd2 ...] or: train.py --help-commands or: train.py cmd --help
error: option --model not recognized