Giter VIP home page Giter VIP logo

Comments (4)

yijingru avatar yijingru commented on July 17, 2024

I guess you may split a little dataset as a validation set to train the model and use the epoch that achieves the best accuracy (or lowest loss, or when the loss is noticeably decreasing). Then train the whole training set (include the previous validation set) again and test at that epoch. I don't understand the second question, resume model in the training?

from bbavectors-oriented-object-detection.

sinason avatar sinason commented on July 17, 2024

I guess you may split a little dataset as a validation set to train the model and use the epoch that achieves the best accuracy (or lowest loss, or when the loss is noticeably decreasing). Then train the whole training set (include the previous validation set) again and test at that epoch. I don't understand the second question, resume model in the training?

The second question is if the training is interrupted for some reason, how can I restart the training using the most recent checkpoint model?
As for the loss, due to the GPU, my epoch is small, and loss will not change in 2.x any more. The accuracy cannot be measured on the test set without labels, so I would like to ask about the final approximate loss range of your model in the paper.

from bbavectors-oriented-object-detection.

yijingru avatar yijingru commented on July 17, 2024

I see. I would like to add the resume part in train.py. One suggestion is to uncomment (use) nn.BatchNorm2d(head_conv) in ctrbox_net.py to help stable training.

As for loss, I checked my logs, for either 20 or 48 batch sizes, the loss ranges from 1 to 4. The larger batch size has a smaller loss.

image

from bbavectors-oriented-object-detection.

sinason avatar sinason commented on July 17, 2024

I see. I would like to add the resume part in train.py. One suggestion is to uncomment (use) nn.BatchNorm2d(head_conv) in ctrbox_net.py to help stable training.

As for loss, I checked my logs, for either 20 or 48 batch sizes, the loss ranges from 1 to 4. The larger batch size has a smaller loss.

image

Thanks a lot!

from bbavectors-oriented-object-detection.

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.