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
I tried to convert, but found that in network instantiation, the parameter of the network is object instead of object nn.module ,
net = NetworkFactory(flag=True) net.load_state_dict(torch.load(r"E:\cache\nnet\LSTR\LSTR_100.pkl"), False) which results in an error: AttributeError: 'NetworkFactory' object has no attribute 'load_state_dict' . How can I solve this problem
The text was updated successfully, but these errors were encountered:
I tried to convert, but found that in network instantiation, the parameter of the network is object instead of object nn.module ,
net = NetworkFactory(flag=True) net.load_state_dict(torch.load(r"E:\cache\nnet\LSTR\LSTR_100.pkl"), False) which results in an error: AttributeError: 'NetworkFactory' object has no attribute 'load_state_dict' . How can I solve this problem
The text was updated successfully, but these errors were encountered: