-
Notifications
You must be signed in to change notification settings - Fork 19
cp.pth #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
cp.pth are the weights saved from previous training cycles. If you are starting afresh, either
|
Thank you for your reply Traceback (most recent call last): please help |
please guide even with 2 images i found this D:\useful in other way\Lung-Segmentation-master\VGG_UNet\code>python train_model_Unet.py D:\useful in other way\Lung-Segmentation-master\VGG_UNet\code>python train_model_Unet.py thank you |
where to find cp.pth?
File "train_model.py", line 143, in
train()
File "train_model.py", line 74, in train
net.load_state_dict(torch.load('cp.pth'))
File "D:\miniconda\lib\site-packages\torch\serialization.py", line 382, in load
f = open(f, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'cp.pth'
The text was updated successfully, but these errors were encountered: