unsky / FPN

Feature Pyramid Networks for Object Detection
524 stars 263 forks source link

ModuleNotFoundError: No module named 'generate_anchors' #108

Open kylezlj opened 5 years ago

kylezlj commented 5 years ago

Hello, I have some problems when ./experiments/scripts/FP_Net_end2end.sh 0 FPN pascal_voc . Maybe you can solve it easily. Thank you very much.

File "/home/zhaoleijie/fpn/FPN-master/tools/../lib/rpn/anchor_target_layer.py", line 14, in from generate_anchors import generate_anchors ModuleNotFoundError: No module named 'generate_anchors' Traceback (most recent call last): File "./tools/train_net.py", line 112, in max_iters=args.max_iters) File "/home/zhaoleijie/fpn/FPN-master/tools/../lib/fast_rcnn/train.py", line 143, in train_net pretrained_model=pretrained_model) File "/home/zhaoleijie/fpn/FPN-master/tools/../lib/fast_rcnn/train.py", line 46, in init self.solver = caffe.SGDSolver(solver_prototxt) SystemError: <Boost.Python.function object at 0x55c996e12630> returned NULL without setting an error

Some of these libraries may not be found correctly.