[BUG] - Deprecated numpy.float failing pycocotools files #2733
Labels
bug
docathon-h1-2025
A label for the docathon in H1 2025
medium
module: vision
Torchvision issues
windows
Uh oh!
There was an error while loading. Please reload this page.
Add Link
https://pytorch.org/tutorials/intermediate/torchvision_tutorial.html
Describe the bug
(On Widnows) The torchvision object detection tutorial fails when the main function doing the training is run. This is due to numpy removing support for numpy.float in version > 1.24.
Error:
There is another bug report open in pycocotools git repo which seems to be not maintained any longer.
cocodataset/cocoapi#624
Describe your environment
Windows 10
Pytorch 2.1.2+cu121
numpy 1.26.3
cc @datumbox @nairbv @fmassa @NicolasHug @YosuaMichael
The text was updated successfully, but these errors were encountered: