Я устанавливаю среду формы Defromable Convnets: https://github.com/open-mmlab/mmdetection Следуя приведенным здесь инструкциям: https://github.com/open-mmlab/mmdetection/blob/master/docs/INSTALL.md При установке обнаружения mmip с помощью команды "pip install -v -e." Произошло исключение. Вот некоторые журналы, напечатанные на экране, я не знаю, была ли MMdetection успешно установлена, или есть исключение. Если так, как я могу справиться с этим.
================================================
copying build/lib.linux-x86_64-3.7/mmdet/ops/dcn/deform_pool_cuda.cpython-37m-x86_64-linux-gnu.so -> mmdet/ops/dcn
copying build/lib.linux-x86_64-3.7/mmdet/ops/sigmoid_focal_loss/sigmoid_focal_loss_cuda.cpython-37m-x86_64-linux-gnu.so -> mmdet/ops/sigmoid_focal_loss
copying build/lib.linux-x86_64-3.7/mmdet/ops/masked_conv/masked_conv2d_cuda.cpython-37m-x86_64-linux-gnu.so -> mmdet/ops/masked_conv
Creating /home/amax/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmdet.egg-link (link to .)
Adding mmdet 1.0rc0+618dca0 to easy-install.pth file
Installed /home/amax/michael/mmdetection
/home/amax/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/setuptools/dist.py:475: UserWarning: Normalizing '1.0.rc0+618dca0' to '1.0rc0+618dca0'
normalized_version,changing mode of /home/amax/anaconda3/envs/open-mmlab/bin/imageio_download_bin to 775
changing mode of /home/amax/anaconda3/envs/open-mmlab/bin/imageio_remove_bin to 775
changing mode of /home/amax/anaconda3/envs/open-mmlab/bin/skivi to 775
*** Error compiling '/tmp/pip-install-slm4klno/imgaug/imgaug/bak/affine.py'...
File "/tmp/pip-install-slm4klno/imgaug/imgaug/bak/affine.py", line 108
return shear = shear
^
SyntaxError: invalid syntax
*** Error compiling '/tmp/pip-install-slm4klno/imgaug/imgaug/parameters-testcode.py'...
Sorry: IndentationError: unexpected indent (parameters-testcode.py, line 2)
Successfully installed Cython-0.29.13 PyWavelets-1.1.1 addict-2.2.1 chardet-3.0.4 cycler-0.10.0 decorator-4.4.0 idna-2.8 imageio-2.6.1 imgaug-0.2.6 kiwisolver-1.1.0 matplotlib-3.1.1 mmcv-0.2.14 mmdet networkx-2.4 opencv-python-4.1.1.26 opencv-python-headless-4.1.1.26 pycocotools-2.0.0 pyparsing-2.4.2 python-dateutil-2.8.0 pyyaml-5.1.2 requests-2.22.0 scikit-image-0.16.1 scipy-1.3.1 terminaltables-3.1.0 urllib3-1.25.6
Cleaning up...
Removed build tracker '/tmp/pip-req-tracker-v5k7ds3j'