Open jccmoing-bit opened 1 year ago
forward() takes 1 positional argument but 2 were given
Hi, You need to provide a complete TraceBack to allow me to locate where the error occurred and find the cause. Please provide the complete reproducible code snippet. Please tell me more about the problem you're having (an example: I got an error at line100 when running the train.py, TraceBack: TypeError: forward() takes 1 positional argument but 2 were given).
forward() takes 1 positional argument but 2 were given
Hi, You need to provide a complete TraceBack to allow me to locate where the error occurred and find the cause. Please provide the complete reproducible code snippet. Please tell me more about the problem you're having (an example: I got an error at line100 when running the train.py, TraceBack: TypeError: forward() takes 1 positional argument but 2 were given).
Thank you for your reply I have solved this problem .Thank you very much for your contribution
Hello, I cloned your source code and tested it on the local server, and the following error message appeared: TypeError: forward() takes 1 positional argument but 2 were given