JESTON NX 运行POSECNN 时遇到的错误

JESTON NX 运行POSECNN 时遇到的错误:

项目地址:https://github.com/NVlabs/PoseCNN-PyTorch

问题1:

pyassimp.errors,AssimpError: assimp library not found

解决方式:

1.我已确认安装pyassimp,但运行时还是显示找不到库,定位错误为home/nuaa/anaconda3/envs/posecnn/lib/python3.6/site-packages/pyassimp/helper.py中,找到这个文件打开。
JESTON NX 运行POSECNN 时遇到的错误_第1张图片
2.报错TypeError: load() missing 1 required positional argument: 'Loader'
JESTON NX 运行POSECNN 时遇到的错误_第2张图片
解决方式:改为yaml_cfg = edict(yaml.safe_load(f))

3.打开文件后发现其查找库的路径为:/usr/lib/x86_64-linux-gnu,由于本机使用的为arm结构,路径有所不同,改为/usr/lib/aarch64-linux-gnu。也可通过locate assimp命令查找自己assimp库所在的位置。
JESTON NX 运行POSECNN 时遇到的错误_第3张图片

——————————————————————————————————————————

问题2:yaml.constructor.ConstructorError:could not determine a constructor for the tag ‘tag:yaml.org,2002:python/tuple’

解决方式:

./experiments/cgfs/ycb_object.yml配置文件中的!!python/tuple全部删除。

JESTON NX 运行POSECNN 时遇到的错误_第4张图片

你可能感兴趣的:(ubuntu,计算机视觉,python)