https://github.com/yhlleo/DeepSegmentor
程序↑
1.conda env create -f environment.yml执行
ResolvePackageNotFound:
pytorch=0.4.1_
pip没有这个版本 忽略了,哪个pytorch不是Pytorch
2.
python3 ./tools/calculate_weights.py --data_path g:\codeSpace\DeepSegmentor-master Traceback (most recent call last): File "G:\codeSpace\DeepSegmentor-master\tools\calculate_weights.py", line 6, in <module> import cv2 ModuleNotFoundError: No module named 'cv2'
没安装opencv
pip install opencv-contrib-python
安装之后还是这个提示:应该安装到新创建的环境里,还没创建环境
标签:calculate,py,路面,codeSpace,DeepSegmentor,pip,裂缝,识别,tools From: https://www.cnblogs.com/resucase/p/16855486.html