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

Why do I get this error when I add my own photo #271

Open
Heavenst opened this issue Apr 15, 2023 · 0 comments
Open

Why do I get this error when I add my own photo #271

Heavenst opened this issue Apr 15, 2023 · 0 comments

Comments

@Heavenst
Copy link

/content/photo_restoration
Running Stage 1: Overall restoration
initializing the dataloader
model weights loaded
directory of testing image: /content/photo_restoration/test_images/old
processing .ipynb_checkpoints
Skipping non-file .ipynb_checkpoints
processing a.png
Traceback (most recent call last):
File "/content/photo_restoration/Global/detection.py", line 178, in
main(config)
File "/content/photo_restoration/Global/detection.py", line 132, in main
scratch_image = Image.open(scratch_file).convert("RGB")
File "/usr/local/lib/python3.9/dist-packages/PIL/Image.py", line 3030, in open
raise UnidentifiedImageError(
PIL.UnidentifiedImageError: cannot identify image file '/content/photo_restoration/test_images/old/a.png'
You are using NL + Res
Finish Stage 1 ...

Running Stage 2: Face Detection
Finish Stage 2 ...

Running Stage 3: Face Enhancement
The main GPU is
0
dataset [FaceTestDataset] of size 0 was created
The size of the latent vector size is [8,8]
Network [SPADEGenerator] was created. Total number of parameters: 92.1 million. To see the architecture, do print(network).
hi :)
Finish Stage 3 ...

Running Stage 4: Blending
Finish Stage 4 ...

All the processing is done. Please check the results.

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