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

training error #22

Open
CephyR1 opened this issue Mar 18, 2024 · 0 comments
Open

training error #22

CephyR1 opened this issue Mar 18, 2024 · 0 comments

Comments

@CephyR1
Copy link

CephyR1 commented Mar 18, 2024

hi I'm trying to train with your provided subset and here is the error:

Original Traceback (most recent call last):
File "/opt/conda/lib/python3.10/site-packages/torch/utils/data/_utils/worker.py", line 308, in _worker_loop
data = fetcher.fetch(index)
File "/opt/conda/lib/python3.10/site-packages/torch/utils/data/_utils/fetch.py", line 51, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/opt/conda/lib/python3.10/site-packages/torch/utils/data/_utils/fetch.py", line 51, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/jovyan/Unpaired-Portrait-Drawing-master/data/unaligned_mask_stylecls_dataset.py", line 45, in getitem
A_mask_img = Image.open(os.path.join(self.auxdir_A+'_nose',basenA))
File "/opt/conda/lib/python3.10/site-packages/PIL/Image.py", line 3243, in open
fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: './portrait_drawing_subset/train/A_nose/inthewild-ia_portrait_10033_resized-checkpoint.png'
what shuld I do?
thank you!

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

1 participant