• Ahmed Abobakr's avatar
    Fix errors in vis.py (#555) · cf1c54ae
    Ahmed Abobakr authored
    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
    cf1c54ae
Name
Last commit
Last update
.github Loading commit data...
cmake Loading commit data...
configs Loading commit data...
demo Loading commit data...
detectron Loading commit data...
docker Loading commit data...
projects/GN Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
FAQ.md Loading commit data...
GETTING_STARTED.md Loading commit data...
INSTALL.md Loading commit data...
LICENSE Loading commit data...
MODEL_ZOO.md Loading commit data...
Makefile Loading commit data...
NOTICE Loading commit data...
README.md Loading commit data...
requirements.txt Loading commit data...
setup.py Loading commit data...