transformer-xl
transformer-xl copied to clipboard
Some problems when training
Thank you for your transformer code! When I ran the code, I encountered such issue:
Traceback (most recent call last):
File "train.py", line 539, in
My enviroment is pytorch 0.4. And I checked the code and did not find any inplace operation.
Could you please provide more information about how you ran the code? If you use pytorch 0.4.1 and run it as is, it should be ok.
I met the same problem and solved it by upgrading pytorch from 0.4.0 to 0.4.1.