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 change main.py net = dfanet(pretrained=True,num_classes=20)
to net = dfanet(pretrained=False,num_classes=20)
and run.
(DFANet) sounnansu@ubuntu2:~/anaconda3/DFANet$ python main.py
./log/dfanet20190805T1416
Traceback (most recent call last):
File "main.py", line 44, in <module>
trainer.load_weights(trainer.find_last())
File "/home/sounansu/anaconda3/DFANet/train.py", line 185, in find_last
"Could not find weight files in {}".format(dir_name))
FileNotFoundError: [Errno 2] Could not find weight files in ./log/dfanet20190805T1416
The text was updated successfully, but these errors were encountered:
I change main.py
net = dfanet(pretrained=True,num_classes=20)
to
net = dfanet(pretrained=False,num_classes=20)
and run.
The text was updated successfully, but these errors were encountered: