Open alexkutsan opened 1 year ago
The problem is that you are using a newer version of PyTorch than the one maskrcnn_benchmark was made for, which no longer has that attribute, so the Python version has to be checked differently.
When I was setting this up with PyTorch 1.10.2, I got it working by changing the _maskrcnnbenchmark/utils/import.py file like this:
Replace the original
if torch._six.PY3:
with this
import sys
if sys.version_info[0] == 3:
I was trying to setup the demo locally but it does not work:
Then I copied demo.py to the root of project and try again :
I installed maskrcnn according to https://github.com/facebookresearch/maskrcnn-benchmark/blob/main/INSTALL.md
And the current error is :
What am I doing wrong? Is this project still actual?