Closed mitalbert closed 5 years ago
This is due to version incompatibility. Could you please share your PyTorch version so that we can debug more? Thanks
Sure, PyTorch '1.2.0'. I wonder why they committed this useful functionality.
There are some more issues in v1.2. I would recommend to use v1.1.
Thanks and agreed, had few issues after upgrading.
The training script would stop throwing an error about multiplying Bool with ByteTensor in segmentation_miou.py at
I assume the authors were expecting torch to cast Bool values into 0 and 1, which didn't happen. I changed it to
to explicitly cast the values.
I'm not sure why this happened in my case, perhaps due to version incompatibility.