Comments (3)
Follow the instruction: https://github.com/TencentARC/GFPGAN#installation
run python setup.py develop
before inference.
from gfpgan.
Thank you Works Perfect here the result!
python inference_gfpgan.py --upscale 2 --test_path inputs/whole_imgs --save_root results
100%|##########| 64.0M/64.0M [00:03<00:00, 18.7MB/s]
C:\Users\Gozarck\AppData\Local\Programs\Python\Python39\lib\site-packages\torch\nn\functional.py:718: UserWarning: Named tensors and all their associated APIs are an experimental feature and subject to change. Please do not use them for anything important until they are released as stable. (Triggered internally at ..\c10/core/TensorImpl.h:1156.)
return torch.max_pool2d(input, kernel_size, stride, padding, dilation, ceil_mode)
C:\Users\Gozarck\AppData\Local\Programs\Python\Python39\lib\site-packages\torch\nn\functional.py:3657: UserWarning: The default behavior for interpolate/upsample with float scale_factor changed in 1.6.0 to align with other frameworks/libraries, and now uses scale_factor directly, instead of relying on the computed output size. If you wish to restore the old behavior, please set recompute_scale_factor=True. See the documentation of nn.Upsample for details.
warnings.warn(
Downloading: "https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.1/RealESRGAN_x2plus.pth" to C:\Users\Gozarck\AppData\Local\Programs\Python\Python39\lib\site-packages\realesrgan\weights\RealESRGAN_x2plus.pthProcessing 00.jpg ...
Tile 1/20
Tile 2/20
Tile 3/20
Tile 4/20
Tile 5/20
Tile 6/20
Tile 7/20
Tile 8/20
Tile 9/20
Tile 10/20
Tile 11/20
Tile 12/20
Tile 13/20
Tile 14/20
Tile 15/20
Tile 16/20
Tile 17/20
Tile 18/20
Tile 19/20
Tile 20/20
Processing 10045.png ...
Tile 1/6
Tile 2/6
Tile 3/6
Tile 4/6
Tile 5/6
Tile 6/6
Processing Blake_Lively.jpg ...
Tile 1/4
Tile 2/4
Tile 3/4
Tile 4/4
Results are in the [results] folder.
from gfpgan.
๐
from gfpgan.
Related Issues (20)
- 10 HOT 1
- 28 HOT 3
- Jvkvfxj HOT 2
- 'torchvision.transforms.functional_tensor' has been depreciated to 'torchvision.transforms.functional' HOT 2
- Anaconda Prompt Displays Error Code When Running Pip Command
- Huggingface scaling issue
- Training Data and configurations for GFPGAN v1.4
- ls: cannot access 'results/cmp': No such file or directory HOT 4
- Would love to have you all as part of our company
- Issues with PyTorch Distributed Training on Google Colab HOT 12
- Please help me
- DirectML on Windows with AMD GPUs
- Aaa
- ๅ ณไบๆฐๆฎ้็้ฎ้ข HOT 2
- TEST GFPGAN
- Photo upload problem
- ่ฏท้ฎๆจ็็ๆถๅๅฆไฝ่ฝ่ฟ่กbatchๆไฝ๏ผ
- Reconstruir esta foto
- ะััะฐะณ ัััะณััั
- Missing Modules, Colab doesn't work anymore HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gfpgan.