I want to test your code, but something went wrong in train.py
Traceback (most recent call last):
File "train.py", line 27, in <module>
w = open('./logs/merge_tes_40attn.log', 'w')
FileNotFoundError: [Errno 2] No such file or directory: './logs/merge_tes_40attn.log'
It seems no file named "logs". Could you provide it? Thank you.
You can simply create a 'logs' directory. I think this will work.
when I run train.py i got this error:
ModuleNotFoundError: No module named 'torch.nn._functions'
and i didn't find this module in pytorch's ducument
when I run train.py i got this error:
ModuleNotFoundError: No module named 'torch.nn._functions'
and i didn't find this module in pytorch's ducument
Hi, can you provide an error log? I guess there is something wrong with your installation of pytorch or the version of that.
when I run train.py i got this error: ModuleNotFoundError: No module named 'torch.nn._functions' and i didn't find this module in pytorch's ducument
Hi, can you provide an error log? I guess there is something wrong with your installation of pytorch or the version of that.
Traceback (most recent call last):
File "train.py", line 2, in
I have checked that pytorch 0.4.0 has this module but the latest version has changed that. I think changing your version to 0.4.0/updating the code according to your version (e.g. find the corresponding LSTMCell module in the latest version) can work this problem out.