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
Has colorization been removed or only disabled? #36
Comments
|
I am not experienced so I made what attempt I could. I changed references of the current file with "GFPGANv1.pth"; while I am unknowledgeable with training and am only trying to output images both color and B&W to test the accuracy. Connecting to github-releases.githubusercontent.com (github-releases.githubusercontent.com)|185.199.108.154|:443... connected. GFPGANv1.pth 100%[===================>] 586.87M 24.3MB/s in 26s 2021-08-08 09:40:07 (22.1 MB/s) - ‘experiments/pretrained_models/GFPGANv1.pth’ saved [615378983/615378983] Then Inference fails Traceback (most recent call last): |
If you want to use the original model with colorization, please see: https://github.com/TencentARC/GFPGAN/blob/master/PaperModel.md |
I chose option 2 on both and added the code to the first cell. File "", line 12 |
Inference: File "", line 3 |
Please create other "Github issues" for other issues. As for the colorization, reply was above: there are 2 models now, one with and one without colorization. |
Apologies, those following issues correlate and result from an inexperienced attempt to follow the coders instructions. Total lack of Python experience or knowledge to copy/paste in the correct areas knowingly. |
@Ghee36 If you want to use the original model, please see the instructions: https://github.com/TencentARC/GFPGAN/blob/master/PaperModel.md for installation and inference. As for the |
I mirrored the changes from the original model to the current notebook. Clone GFPGAN and enter the GFPGAN folder Set up the environment Works good no problemsNow we use the GFPGAN to restore the above low-quality images !ls results/cmp This provides errors despite no longer referencing GFPGANv1Clean(is this for color?)Downloading: "https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.1/RealESRGAN_x2plus.pth" to /usr/local/lib/python3.7/dist-packages/realesrgan/weights/RealESRGAN_x2plus.pth 100% 64.0M/64.0M [00:01<00:00, 66.7MB/s] 100% 104M/104M [00:01<00:00, 65.1MB/s] |
Use the latest colab: https://colab.research.google.com/drive/1Oa1WwKB4M4l1GmR7CtswDVgOCOeSLChA?usp=sharing For GFPGANv1 model, you should the following cmd: |
Generative facial prior is genius. Wonderful research
Was colorization removed or just disabled by feature? I was unable to locate color jitter or grey settings.
The text was updated successfully, but these errors were encountered: