Fix errors in vis.py (#555)
Summary: Fixing error: TypeError: Layout of the output array img is incompatible with cv::Mat (step[ndims-1] != elemsize or step[1] != elemsize*nchannels) in vis_class(..) and vis_bbox(..) methods when calling vis_one_image_opencv(..). Pull Request resolved: https://github.com/facebookresearch/Detectron/pull/555 Reviewed By: rbgirshick Differential Revision: D10027949 Pulled By: ir413 fbshipit-source-id: e34b8b881ffe231984f270910f778c5abe79e489
Showing
Please
register
or
sign in
to comment