sanghoon / pva-faster-rcnn

Demo code for PVANet
https://arxiv.org/abs/1611.08588
Other
651 stars 241 forks source link

proposal_layer.py : 180 : invalid value encountered in greater_equal #84

Closed Johnson-yue closed 7 years ago

Johnson-yue commented 7 years ago

Hi, guys: when I run ./tools/test_pvanet.py the error is occur :
/pva-faster-rcnn1/tools/../lib/rpn/proposal_layer.py:180: RuntimeWarning: invalid value encountered in greater_equal keep = np.where((ws >= min_size) & (hs >= min_size))[0]

So I track into the proposal_layer.py , I found this : Line 77 : $scores is [nan nan ...nan] Line 78 : $bbox_deltas is also [nan nan .... nan] but , Line 79 : $im_info is fine not [nan]

I run code like this: cd $FRCN_ROOT ./tools/test_pvanet.py

Arthur-Shi commented 6 years ago

@Johnson-yue I meet the same problem, how did you solve that?

Johnson-yue commented 6 years ago

@Arthur-Shi Sorry , I really forgot it. Maybe I had mistatke when I run it, so it was fixed by clone it again!