Skip to content
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

No such file or directory: 'trained_models/checkpoint.pk' #4

Open
future013 opened this issue Jul 26, 2023 · 10 comments
Open

No such file or directory: 'trained_models/checkpoint.pk' #4

future013 opened this issue Jul 26, 2023 · 10 comments

Comments

@future013
Copy link

No description provided.

@yingzhige00
Copy link

try change
option.python:
self.load_model = True
to
self.load_model = Flase
I remember my file is autoly built.

@future013
Copy link
Author

Thank you. andI'd like to ask about
Traceback (most recent call last):
File "E:/pytorchproject/Attention-Based-CycleDehaze/dataset.py", line 150, in
loop = tqdm(ITS_train_loader, leave=True)
NameError: name 'ITS_train_loader' is not defined

@future013
Copy link
Author

and How to train my own dataset

@yingzhige00
Copy link

i can't deal with the first problem. my project run well.
if you want to train your own datasets,you need to input the same size of images to data/clear and data/hazy.

@yingzhige00
Copy link

self.load_model = Flase
mean you are training a new checkpoint.pk
self.load_model = True
mean continue to train it.

@future013
Copy link
Author

self.load_model = Flase 表示您正在训练新 checkpoint.pk self.load_model = True 表示继续训练它。

Thank you, and how is the training process visualised? Do I need to install visdom?

@yingzhige00
Copy link

I don't know. I install visdom, but the code doesn't ask for it.
My results are saved in some folders, like Attention-Based-CycleDehaze/saved_images and Attention-Based-CycleDehaze/test_images.
My results did not meet the author's description, But the dehazing effect is ok.

@future013
Copy link
Author

FileNotFoundError: [Errno 2] No such file or directory: 'data\clear\18.png.png'
Why is the data named in the same way as the ITS dataset still reporting errors?

@yingzhige00
Copy link

Emmmm
I don't know. But I also meet this.
my error is because of unnecessary folede ‘.ipynb_checkpoints’. when I delete it, the code can works fine.

@future013
Copy link
Author

Thank you. May I ask how you trained your own dataset?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants