-
Notifications
You must be signed in to change notification settings - Fork 6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add restoreformer and codeformer inference codes
- Loading branch information
Showing
8 changed files
with
1,655 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
126c55c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PS V:\GFPGAN> python.exe .\inference_gfpgan.py
V:\GFPGAN\inference_gfpgan.py:64: UserWarning: Here is going to run --bg_upsampler-realesrgan in CPU (not CUDA) power.
warnings.warn('Here is going to run --bg_upsampler-realesrgan in CPU (not CUDA) power.') V:\GFPGAN\inference_gfpgan.py:67: UserWarning: This is because installed version of PyTorch is 1.13.0+cpu'.
warnings.warn('This is because installed version of V:\GFPGAN\inference_gfpgan.py:69: UserWarning: If PyTorch has Compute Platform 'CUDA 11.6' support, the version will be
displayed like 1.12.1+cul16` warnings.warn('If PyTorch has Compute Platform CUDA 11.6' support,
V:\GFPGAN\inference_gfpgan.py:71: UserWarning: If you are sure to have CUDA enabled device, you can try to install CUDA capable PyTorch. Visit https://pytorch.org/get-started/locally/ and check START LOCALLY section. warnings.warn('If you are sure to have CUDA enabled device, '
V:\GFPGAN\inference_gfpgan.py:75: UserWarning: In 12 Nov 2022, this is useful to install CUDA powered PyTorch: pip3 inst all torch==1.12.1+cu116 --index-url https://download.pytorch.org/whl/cu116
warnings.warn('In 12 Nov 2022, this is useful to install CUDA powered PyTorch: V:\GFPGAN\inference_gfpgan.py:77: UserWarning: If you already have PyTorch installed, it needs to be uninstalled. try: p ip3 uninstall torch warnings.warn('If you already have PyTorch installed, it needs to be uninstalled. try:
V:\GFPGAN\inference_gfpgan.py:82: UserWarning: To print PyTorch version by yourself, try: python -c "import torch; print
(torch.version)"
warnings.warn('To print PyTorch version by yourself, try: V:\GFPGAN\inference_gfpgan.py:85: UserWarning: To verify if PyTorch can detect CUDA, try: python -c "import torch; print (torch.cuda.is_available())"
warnings.warn('To verify if PyTorch can detect CUDA, try:
V:\GFPGAN\inference_gfpgan.py:88: UserWarning: The unoptimized RealESRGAN is slow on CPU. We do not use it. If you reall y want to use it, please modify the corresponding codes.
warnings.warn('The unoptimized RealESRGAN is slow on CPU. We do not use it. '
C:\Users\DXT5\AppData\Roaming\Python\Python39\site-packages\torchvision\models_utils.py:208: UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead. warnings.warn(
C:\Users\DXT5\AppData\Roaming\Python\Python39\site-packages\torchvision\models_utils.py:223: UserWarning: Arguments oth er than a weight enum or 'None' for 'weights' are deprecated since 0.13 and may be removed in the future. The current be havior is equivalent to passing weights=None'.
warnings.warn(msg)
Processing 00.jpg ...
126c55c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
126c55c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
126c55c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
126c55c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.