Code Monkey home page Code Monkey logo

Comments (5)

xingyizhou avatar xingyizhou commented on August 15, 2024

Hi,

  1. The program use progress to dynamically print logs to the screen. If it does not work, you can set --print_iters 1 to use the standard python print function. The log, as well as a tensorboard log, is also saved to exp/ctdet/$exp_id.
  2. The learning rate 5e-4 is set for batchsize 128, you will need to linearly scale it to your batchsize (in your case, 5e-4 * 47 / 128).
  3. It is recommended to test with fewer epochs first, e.g., --num_epochs 70 --lr_step 60.
  4. The "best" model (with the lowest loss) is usually not the best one with the highest AP.

from centernet.

sevenseablue avatar sevenseablue commented on August 15, 2024

@xingyizhou thank you.

from centernet.

lawpdas avatar lawpdas commented on August 15, 2024

@xingyizhou The learning rate 5e-4 is set for batchsize 128 on 8 GPUs (batchsize 16 on each GPU). If I use 2 GPUs and batchsize is 40, should I set lr = 5e-4 * (40 / 2) / (128 / 8) ?

from centernet.

sisrfeng avatar sisrfeng commented on August 15, 2024

Anybody knows why?
The "best" model (with the lowest loss) is usually not the best one with the highest AP.
Many thanks!

from centernet.

sisrfeng avatar sisrfeng commented on August 15, 2024

the program runs using nohup, and i can not see the loss and progress.

I can see the loss with this cmd:
nohup python main.py ctdet --exp_id coco_dla --batch_size 16 --master_batch 1 --lr 6.25e-5 -
-gpus 4,0 --print_iter 1 --num_workers 0 >../trian_log.json 2>&1 &

from centernet.

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.