Git Product home page Git Product logo

Comments (4)

xiaolonw avatar xiaolonw commented on August 19, 2024

Hi,
PRECISE_BN deos not affect the performance in the final model really, it just makes the train/val error curve looks better when you visualize it.

I have also tried using 16 samples per batch, but i actually did not get much improvement in the case of training with 400K iterations.

from video-nonlocal-net.

jetyingjia avatar jetyingjia commented on August 19, 2024

Thank you for your replay, when I use 16 samples per batch, I can get the performacne in the paper, but 8 samples per batch is 1.5% than 16 samples per batch.

from video-nonlocal-net.

xiaolonw avatar xiaolonw commented on August 19, 2024

Hi,
In that case, i am actually suspecting your lr schedule might not be well adjusted. If you are using a 4GPUs machine and running with our 8GPU script, remember to adjust the lr by using lr = lr/2 and double the training iterations, with batchsize=8 samples per GPU.

from video-nonlocal-net.

jetyingjia avatar jetyingjia commented on August 19, 2024

Hi,
ALL training use the same configs(base_lr=0.01 and total training epochs=90), except the batch_size per GPU(8 or 16).

Because I use my own code and pre_train model(not your release code and pre_train model), the config may be not suitable for me? I have try some experiments, expect have a good result.

from video-nonlocal-net.

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.