leon-liangwu / MaskYolo_Caffe

YOLO V2 & V3 , YOLO Combined with RCNN and MaskRCNN
115 stars 50 forks source link

no field named "roi_gen_param" #53

Closed ytf95 closed 4 years ago

ytf95 commented 4 years ago

Thank you for your excellent work!

I have a problem that when I run, the terminal prompt has no field named "roi_gen_param" .

/home/fly/Pictures/Screenshot from 2020-02-24 13-07-50.png

Thank you very much for your answer!

leon-liangwu commented 4 years ago

@ytf95 Could you please upload the screenshot again? I guess the issue is caused because you did not add the pycaffe path of this repo to the PYTHONPATH env variable.

ytf95 commented 4 years ago

@ytf95 Could you please upload the screenshot again? I guess the issue is caused because you did not add the pycaffe path of this repo to the PYTHONPATH env variable.

Screenshot from 2020-02-24 13-07-50

Thanks for your reply

Similar to: roi_xxx_param and so on have similar problems

leon-liangwu commented 4 years ago

@ytf95 I guess you should set the PYTHONPATH rightly.

ytf95 commented 4 years ago

@ytf95 I guess you should set the PYTHONPATH rightly.

So how do I set the right path correctly?

Is it /home/fly/MaskYolo_Caffe/caffe-maskyolo/python?

leon-liangwu commented 4 years ago

like this:

export PYTHONPATH="/home/fly/MaskYolo_Caffe/caffe-maskyolo/python":$PYTHONPATH
ytf95 commented 4 years ago

like this:

export PYTHONPATH="/home/fly/MaskYolo_Caffe/caffe-maskyolo/python":$PYTHONPATH

I can succeed in your work.

However, I have applied the model file to other places, so this problem arises. I think this idea of mine may be a wrong idea.

Thank you very much for your answer.