不建议参考,就是记录一下(就是不负责的意思)
标题AdelaiDet安装
参考
https://blog.csdn.net/qq_19707521/article/details/111181000
不过我是直接下载下来,解压,然后cd到目录才进行的python setup.py build develop
报错如图
又参考了
https://blog.csdn.net/m0_38124502/article/details/105582316?utm_medium=distribute.pc_aggpage_search_result.none-task-blog-2aggregatepagefirst_rank_v2~rank_aggregation-3-105582316.pc_agg_rank_aggregation&utm_term=winerror126%E6%89%BE%E4%B8%8D%E5%88%B0%E6%8C%87%E5%AE%9A%E6%A8%A1%E5%9D%97&spm=1000.2123.3001.4430
这个我也安装但是并没有解决我的问题,但是我怕有影响所以就在这提醒一下。
继续不行报同种错误,然后我去下载了scikit_image-0.18.2rc2-cp37-cp37m-win_amd64.whl这个,然后pip安装嘛,又报错!!!
百度说我没matplotlib (我有)
我就想删了它,再装一边,用conda uninstall matplotlib报错(找不到文件)
直接跑到D:\ananconda3\envs\detectron2\Lib\site-packages手动删除matplotlib
然后再安装继续报错(下面是报错信息):
ERROR: pip’s dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
detectron2 0.4.1 requires cloudpickle, which is not installed.
adelaidet 0.2.0 requires cloudpickle, which is not installed.
adelaidet 0.2.0 requires Polygon3, which is not installed.
adelaidet 0.2.0 requires rapidfuzz, which is not installed.
adelaidet 0.2.0 requires shapely, which is not installed.
scikit-image 0.18.2 requires imageio>=2.3.0, which is not installed.
scikit-image 0.18.2 requires networkx>=2.0, which is not installed.
scikit-image 0.18.2 requires PyWavelets>=1.1.1, which is not installed.
scikit-image 0.18.2 requires scipy>=1.0.1, which is not installed.
scikit-image 0.18.2 requires tifffile>=2019.7.26, which is not installed.
detectron2 0.4.1 requires iopath<0.1.9,>=0.1.7, but you have iopath 0.1.9 which is incompatible.
detectron2 0.4.1 requires omegaconf>=2.1.0rc1, but you have omegaconf 2.1.0.dev22 which is incompatible.
不过还好看一下,是需要一些库,全部安装
安装完以后又cd到AdelaiDet文件夹里python setup.py build develop
成功了,过程稀里糊涂的,记录一下,不建议参考,谢谢