Coder Social home page Coder Social logo

cincgan-pytorch's People

Contributors

junshk 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

cincgan-pytorch's Issues

training data issue

Thank you Junshk so much for your good work. I tried to implement the code you wrote but since the instruction is quite ambiguous so I could not run it successfully. Could you help clarify how the training data is allocated? For instance, in the paper, it is said the HR images Z are from 400-800 training images from DIV2K, and input LR X are from 1-400 images. Besides, for Y (intermediate) are from the bicubic downsampling of HR images of Z, which means Y are also numbered as 401-800. However, when I tried the code it is said that '../dataset/DIV2K/DIV2K_train_HR/0015.png', which means you did not actually divide the HR and LR raw data from DIV2K right?
Furthermore, the code is quite hard to understand, so could you please update or make a concise version? Thanks for you help.

training loss result

Hi, what is your loss after training step 1? How can I know my loss is stable to begin training step 2? Is there a rough guideline?

I used 10 GPUs and after 30 epochs now the loss is

===> Epoch28: Loss: idt 0.000000 0.037730 cyc 0.000000 0.005994 D 0.000000 0.464715, G: 0.000000 0.284303, psnr_hr: 16.187803, psnr_lr 7.150141

and it is not improving

Pretrained EDSR model

Hi is the download link downloading the correct model?
The names of the downloaded model is EDSR_x4.py insteand of EDSR_baseline_x4.pt as suggested in the code.

After I renamed the file. It seems the model dimension does not match.

Traceback (most recent call last):
File "/home/shitaili/workspace/jupyter_notebooks/sr/CinCGAN-pytorch/code/model/edsr.py", line 65, in load_state_dict
own_state[name].copy_(param)
RuntimeError: The expanded size of the tensor (64) must match the existing size (256) at non-singleton dimension 0. Target sizes: [64, 3, 3, 3]. Tensor sizes: [256, 3, 3, 3]

about the result of NTIRE 2018 track 2

about the result of NTIRE 2018 track 2, has somebody test the NTIRE 2018 track 2 valid dataset? I think the paper's result is not true because even the bicubic result and the BM3D+EDSR result is not true.

about result

I'd like to see the results of the paper reproduction. Could you upload some pictures?
thank you so much

Nan loss

Hi,

I'm getting all losses as nan, and I find out that in main.py, around line 200, dn_ = model0 returns all nan outputs. I print out the input_v and the input_v looks correct. Would you please let me know what shall I do?

Thanks!

Hello ,the structure of EDSR pretrained model does not meet the definition in your code.

problem:
when I load EDSR_x4.pt ,and use the load_state_dict method in EDSR.py,the problem shows:

GHR.load_state_dict(Loaded,True)
KeyError: 'unexpected key "body.16.body.0.weight" in state_dict'。

GHR.load_state_dict(Loaded,False) can run the code ,but the result of sr is pool,so I think whether the structure code of EDSR.py you write maybe not complete?

is it possible?

How extend your code to "Multiple Cycle-in-Cycle Generative AdversarialNetworks for Unsupervised Image Super-Resolution"
Best

CUDA out of memory

hi, thanks for you wonderful work~
when i got through your code , finished the 1st loss print, it's get a error "CUDA out of memory"
Do you know how to fix it ?
thanks for your time ~

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.