AttributeError: 'module' object has no attribute 'PriorRBoxParameter' when training DRBox-master

Cause of the problem: The python environment variable is set incorrectly.

Solution:

sudo vim ~/.bashrc

After opening the environment variable, point the caffe environment variable to DRBox-master, that is, export PYTHONPATH=/home-root/DRBox-master/python:$PYTHONPATH.

After saving, execute

sudo source ~/.bashrc is enough.



Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325666157&siteId=291194637