Code Monkey home page Code Monkey logo

Comments (3)

HaozhiQi avatar HaozhiQi commented on August 28, 2024
  1. Firstly, the mask_size has no relation with the number of classes. The mask size is the size of our mask regression output (A inner product layer with num_output = MASK_SIZE x MASK_SIZE) in stage 2/4.

2)&3) You also need to notice that the test_iter = 8 in my solver.prototxt. So every iteration consists 8 forward/backward operations. But it's still seems too slow for your experiments, what's your hardward configuration? And for the number of training iters, I believe you should try which is the best training iters by hand.

  1. The accuracy will be highly affected by the number of background samples per batch, since background is much easier to be correctly classified. In your case, it seems there are too many background samples which results no instances are detected while the accuracy is very high.

  2. Could you give more information about this issue? I didn't fully understand your description.

from mnc.

wuzheng-sjtu avatar wuzheng-sjtu commented on August 28, 2024

Hi @suhalim9, have you solved your problem, seems like we have similar problem. I also want to train MNC using my own dataset and the dataset only has one type of object. If you have solved your problem, could you share some experience please?

from mnc.

suhalim9 avatar suhalim9 commented on August 28, 2024

Hi @wuzheng-sjtu ,
To be honest, I ended up letting it trained slowly. My training images are pretty high resolutions so definitely took way longer than expected. I used the default iteration number but stopped at ~20000 iterations (after several days) because loss became -inf. I took the latest one that loss stayed normal (I don't remember the exact iteration number).

But I still have a problem with the accuracy. My object type is very simple without not many visible features (not like face, animal, etc.) So I wondered if my issue was because of the nature of the object.

In summary, I didn't see much success with the MNC model for the object I wanted to detect. But having more iterations helped a bit. I also used the 5 stage, which seemed slightly better than the 3 stage. I don't think my experience would help you..

If you have a success story, please share. :)

from mnc.

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.