soeaver/RP-R-CNN

RuntimeError: Expected object of scalar type Bool but got scalar type Byte for argument #2 'other' in call to _th_and

jiawenhao2015 opened this issue · 0 comments

RP-R-CNN/rcnn/core/test.py

Lines 286 to 287 in dfcc227

_scores = scores > cfg.FAST_RCNN.SCORE_THRESH
inds_all = _scores & fg_labels

`
_scores = scores > cfg.FAST_RCNN.SCORE_THRESH

_scores = _scores.byte()

inds_all = _scores & fg_labels
`
this works