You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Could you please help me fix the following issue.
Traceback (most recent call last):
File "main.py", line 4, in
from model import FNN
File "/root/dnn-ctr-fnn/dnn_ctr/model/FNN.py", line 540, in
fnn.load_state_dict(torch.load('./data/model/ffnn.pkl'))
File "/root/.local/lib/python2.7/site-packages/torch/serialization.py", line 356, in load
f = open(f, 'rb')
IOError: [Errno 2] No such file or directory: './data/model/ffnn.pkl'
The text was updated successfully, but these errors were encountered:
@LuckyNikki This is my fault. You are supposed to Document the code in line 540 (fnn.load_state_dict(torch.load('./data/model/ffnn.pkl'))) and use the code in line 541 to pretrain the fm model and save it.
Hi,
Could you please help me fix the following issue.
Traceback (most recent call last):
File "main.py", line 4, in
from model import FNN
File "/root/dnn-ctr-fnn/dnn_ctr/model/FNN.py", line 540, in
fnn.load_state_dict(torch.load('./data/model/ffnn.pkl'))
File "/root/.local/lib/python2.7/site-packages/torch/serialization.py", line 356, in load
f = open(f, 'rb')
IOError: [Errno 2] No such file or directory: './data/model/ffnn.pkl'
The text was updated successfully, but these errors were encountered: