Coder Social home page Coder Social logo

Comments (11)

wangzhe0623 avatar wangzhe0623 commented on May 28, 2024

And, I tried to train the model without pre-trained model, the "detection_eval" increased slowly, which is about "0.2" when the "Iteration 60000"

from dsod.

szq0214 avatar szq0214 commented on May 28, 2024

Hi @wangzhe0623,

  1. The inconsistent model size is caused by the final classification layers (different numbers of category). We adopted the same network structure for VOC and coco but obtained totally different model size (59.2M vs. 87.2M). If you want to use our pre-trained model, use this script (https://github.com/weiliu89/caffe/blob/ssd/examples/convert_model.ipynb) provided by SSD's author to convert our model to your data, or simply rename the prediction layers.
  2. I think #7 will help you.

from dsod.

wangzhe0623 avatar wangzhe0623 commented on May 28, 2024

@szq0214 Thanks a lot~ But I think I didn't make it clear in last comment. I have converted my dataset to VOC style, and "test_name_size", "labelmap" are also OK. I changed "num_classes" in "DSOD300_pascal.py". then run it without pre-trained model. Now the "detection_eval" is slower after 70000 iterations, it's lower than 0.2~ Is that normal? Should I continue training this model or stop to check?
Thanks again!

from dsod.

szq0214 avatar szq0214 commented on May 28, 2024

Hi @wangzhe0623, It's not normal with so poor performance. I think you should stop it and try other parameters. BTW, what "accum_batch_size" number do you use?

from dsod.

wangzhe0623 avatar wangzhe0623 commented on May 28, 2024

@szq0214 I set "accum_batch_size" 8, and "batch_size" is 8, either.

from dsod.

szq0214 avatar szq0214 commented on May 28, 2024

@wangzhe0623 "accum_batch_size" is too small, try 128 or other larger number.

from dsod.

wangzhe0623 avatar wangzhe0623 commented on May 28, 2024

@szq0214 OK,I modified iter_size to 8 in "solver.protxt" instead, should I restart all over again OR fine tune the model with low precision? So much thanks~

from dsod.

szq0214 avatar szq0214 commented on May 28, 2024

@wangzhe0623 I recommend restarting from scratch.

from dsod.

wangzhe0623 avatar wangzhe0623 commented on May 28, 2024

@szq0214 OK, I will try it. Thanks a lot!

from dsod.

wangzhe0623 avatar wangzhe0623 commented on May 28, 2024

@szq0214 It worked. "iter_size" is quite importent in training this kind of net, I used to ignore it in the past. So many many many thanks~

from dsod.

szq0214 avatar szq0214 commented on May 28, 2024

@wangzhe0623 :)

from dsod.

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.