Detectron.pytorch
Detectron.pytorch copied to clipboard
Generalized_RCNN object has no attribute 'grid_size'
If you try to use RoICrop
as a ROI_XFROM_METHOD
it fails on the following line
https://github.com/roytseng-tw/Detectron.pytorch/blob/dddeb6f4ff9fe14e122c26ec0ab5c1928027d8dc/lib/modeling/model_builder.py#L283
as grid_size
is not defined for Generalized_RCNN
.
It appears that original Detectron doesn't support RoICrop, so perhaps just remove that option?
If you try to use
RoICrop
as aROI_XFROM_METHOD
it fails on the following line Detectron.pytorch/lib/modeling/model_builder.pyLine 283 in dddeb6f
rois, bl_in.size()[2:], self.grid_size)
as
grid_size
is not defined forGeneralized_RCNN
. It appears that original Detectron doesn't support RoICrop, so perhaps just remove that option?
I happened to this error either.