Code Monkey home page Code Monkey logo

Comments (5)

Jongchan avatar Jongchan commented on July 30, 2024

I need several hours to train with single 1080.
It seems too slow. The speed bottleneck is usually caused by data IO, but since the data is very small, I doubt this possibility. One possibility is that you are using an extremely slow HDD, or have a very small RAM.. But even so, the speed is still too slow.

Are you using the asynchronous queueing? With asynchronous data loading, the speed goes up many times.

from tensorflow-vdsr.

EricKani avatar EricKani commented on July 30, 2024

Hi, I am sorry for replying so late. I found the reason is that I runned the model in CPU on the second day... I used the asynchronous queueing. Becasue the data is not large, I choiced to use the way of loading data from the pickle file that loads the data into RAM once until the end.

I did some experiments after that and I encountered some question that I want to seek advices from you.

  1. For example in scale 2x, I saw the psnr enhancement is 3.5dB in Set5 and 2.5dB in Set14 approximately. Is the enhancement value about equal in every signal image? I found the enhancement in different image have great difference. like below(set 5).

name | bicubic | vdsr | Improment
baby | 36.978 | 38.514 | 1.536
bird | 36.808 | 41.651| 4.843
butterfly | 27.489 | 33.657 | 6.168
head | 34.845 | 35.836 | 0.991
woman | 32.087 | 35.575 | 3.488
MEAN | 33.6414 | 37.0466 | 3.4052

Is my result normal?

  1. The second question is that the loss can't be lower than 1. while I was training regardless of in pickle way or your asynchronous way. What the smallest value of loss when you trained the model.

  2. Because we train the model over the "y" channel of image, I want to generate the raw "rgb" format image via concatenating the three channel of the image. Then I used the "ycbcr2rgb" in MATLAB to transfer the form. But the result is very bad. The generated image also like the image in "YCbCr" format.
    emmm... it is colorful...

Those are my all issues. I hope I can get the advances from you. My english is bad. If there are some verbal mistakes, I feel very sorry for that.

Thank you very much.

from tensorflow-vdsr.

Jongchan avatar Jongchan commented on July 30, 2024

I thought the slow down is too severe :] Glad to hear the problem is solved.

  1. The enhancement result varies greatly among images. It is a natural consequence. I am not an expert on super-resolution and don't know the theoretical reasons for that, but to my experience, the improvement over bicubic varies. Just like your result.
    The mean PSNR seems okay to me, maybe you can run more iterations or run another batch to get better results.

  2. I cannot remember clearly, but I think I have achieved 0.9~ loss for training.

  3. I am not clear here. Did you train separate models for Y/Cb/Cr channels?
    As far as I know, the standard method for super-resolution is to enhance Y channel only. Y channel preserves all the structural information, and Cb/Cr only has color information. So, after training, only switch the Y channel with the enhanced result and save it back. I did observe the improvement in this way.

P.S. Your English is okay to me :) I am also not a native speaker.

from tensorflow-vdsr.

EricKani avatar EricKani commented on July 30, 2024

Thanks for your answers a lot!!

from tensorflow-vdsr.

zhaoyucong avatar zhaoyucong commented on July 30, 2024

@Jongchan @EricKani For shi yao can not see the test after the picture, only to see the evaluation index

from tensorflow-vdsr.

Related Issues (20)

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.