配置mvssnet环境遇到的问题


pytorch是py3.6-1.7.0-cuda11.0版本的

1.一开始看不懂readme,不知道怎么test

bash do_pred.sh

自己创建一个test.txt 里面格式:    xxx.png/jpg None 0(注意图像的位置)

2.libmkl_intel_lp64.so: cannot open shared object file: No such file or directory

查看了mvss/envs/lib里面确实没有,我从别的虚拟环境里复制了,解决

3.没有安装torchivison,直接conda install不行,我去pytorch官网找了对应的版本

4.from albumentations.pytorch.functional import img_to_tensor,安装albumentations

5.导入apex库报错:from pyramid.session import UnencryptedCookieSessionFactoryConfig ImportError: cannot import name 'UnencryptedCookieSessionFactoryConfig'