Hi, I am training an Arabic-English model. I am using Colab. Everything used to go smoothly with all my experiments but now I get this error at after the translate.py command:
RuntimeError: Integer division of tensors using div or / is no longer supported, and in a future release div will perform true division as in Python 3. Use true_divide or floor_divide (// in Python) instead
Yeah, wasn’t sure about the version numbers. The error you gave has been a depreciation warning for a while. Seems like it now has become a full-on error. @guillaumeklnThis should probably get fixed across the board.
Hello @sadanyh ,
This error is due to the latest release of PyTorch 1.6. I’ve opened a PR for fixing this issue. You can then use the latest PyTorch when it’s merged.