dongheehand / srgan-pytorch Goto Github PK
View Code? Open in Web Editor NEWSRGAN (Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network) implementation using PyTorch framework
SRGAN (Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network) implementation using PyTorch framework
Can you please provide the code for calculating SSIM
I am trying to use your reo for inference but keep getting this error ,any ideas??
TypeError: unsupported operand type(s) for /: 'str' and 'float'
Hi, thank you for the code & models, @dongheehand !
I used the pretrained model of SRGAN available, and this is what it gave me:
input
output
Now, I wonder on the reasons why the contrast and intensity levels of the output are distributed differently compared to the input. Does anyone have clue how this effect can be avoided?
Thanks!
First of all,thank you for the code,but I have a few questions to ask
1.At the end of the generator you wrote,why there is a Tanh layer.
2.In your gan traing,why g_loss has one more loss L2loss
Much thank you for your reply
Hello. Great works.
I have converted your model to CoreML Apple mobile format.
https://github.com/john-rocky/CoreML-Models
Can you provide the license of your repo?
Thank you.
Loading pre-trained SRGAN.pt
model weights, giving it a scale=2
. It returns
Error(s) in loading state_dict for Generator: Unexpected key(s) in state_dict: "tail.1.body.0.body.0.weight", "tail.1.body.0.body.0.bias", "tail.1.body.2.weight". scale
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.