Coder Social home page Coder Social logo

yjn870 / fsrcnn-pytorch Goto Github PK

View Code? Open in Web Editor NEW
209.0 209.0 58.0 2.34 MB

PyTorch implementation of Accelerating the Super-Resolution Convolutional Neural Network (ECCV 2016)

Home Page: https://arxiv.org/abs/1608.00367

Python 100.00%
image-super-resolution

fsrcnn-pytorch's People

Contributors

yjn870 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

fsrcnn-pytorch's Issues

复现精度

hello,当我使用仓库代码进行训练时,在set5上测试精度只有35.12,达不到仓库里的37.12,请问您的训练策略是什么?

About nn.PReLU(x) in Sequential

nn.PReLU() shouldn't set x or s in Sequential, for example, from my code, I think nn.PReLU(x) is false in Sequential(It will cause bug torch.cuda.FloatTensor is not a Module subclass). We should change it nn.PReLU(), it seems right in Sequential

The size of image

When testing, why are the input and output image sizes the same regardless of the scale? And why is the test input a GT image?

rgb to ycbcr formula coefficient problem.

hi, I checked your image transformation part in file utils.py
the formula for rgb to ycbcr image is a little different from Wikipedia:
yours:
y = 16. + (64.738 * img[..., 0] + 129.057 * img[..., 1] + 25.064 * img[..., 2]) / 256.
wiki:
y = 16. + (65.738 * img[..., 0] + 129.057 * img[..., 1] + 25.064 * img[..., 2]) / 256.

and actually in all of your implementations, you use 64.738.
i tested both and seems this minor difference does not affect the prediction accuracy...
but still, want to point out this and make this work better.

关于性能(耗时)问题

你好,感谢您提供相关代码。
在本仓库运行时,使用您提供的预训练模型,测试butterfly 2/3倍scale时,CPU耗时700ms,GPU(NVIDIA-SMI 515.65.01 Driver Version: 515.65.01 CUDA Version: 11.7)耗时400ms,
与论文中的结论27fps有差异,是什么原因呢

about ConvTranspose2d

Hello, I want to enlarge the output image by 4 times. I set the stride in ConvTranspose2d to 4, but this will give an error, which will indicate that the dimensions of tensor a and tensor b are different. Can you tell me why this is happening, What will be done to magnify the output image by 4 times for me?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.