Giter Club home page Giter Club logo

Comments (4)

Saafke avatar Saafke commented on May 26, 2024

Perhaps you don't have many images in your dataset: it could be that in your case one epoch (each image in your dataset has gone through the network) is only 51 steps. How many images are in your dataset, and which batch-size do you use?

(step% 1000 = : 0). should I change the number 1000 to 10?

This means the program will save the current model and print the loss when that IF statement holds true. So yes, if you only have 51 steps per epoch, it is better to change the 1000 to 10.

from edsr_tensorflow.

rjm135 avatar rjm135 commented on May 26, 2024

Thanks for the reply! I'll change it to 10 and continue training.

I used 808 for the train dataset and 101 for validation.
The batch size was not adjusted in your model. All of my images are 158x158.

What I am curious about is how the number of steps is determined. My dataset is similar in number to the DIV2K image, but is the step smaller because of the image size?

from edsr_tensorflow.

Saafke avatar Saafke commented on May 26, 2024

If I remember correctly, the images are cut up to make 48x48 patches, which are used for training. So if your images are 158x158, you would have 9 patches per image.

I think (we should double check this) the number of steps are determined by Batchsize * Nr of images * Patches per image: so this will be much bigger than 51 in your case.

from edsr_tensorflow.

rjm135 avatar rjm135 commented on May 26, 2024

I understand!
Thanks for answering!
I changed cut size and it works good.

from edsr_tensorflow.

Related Issues (12)

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.