Giter VIP home page Giter VIP logo

Comments (7)

Zehaos avatar Zehaos commented on May 29, 2024

I assume that you have make the tfrecord correctly. (Both test set and train set)

And you said that you used 'eval_image_classifier.py' to do the evaluation and got a low accuracy.

Then you write a new evaluation script??? And it come up with 'MobileNet/Conv1/Weight2 is not initialized'??? Right?

from mobilenet.

Zehaos avatar Zehaos commented on May 29, 2024

To figure out whether there is any problem with the evaluation procedure, I think you could use the training set to do the evaluation. If the accuracy is high (as the training loss is low enough), it means there is no problem with the evaluation program.

from mobilenet.

gjtjx avatar gjtjx commented on May 29, 2024

Sorry,I have check the test img , the bbox is wrong,
now the test Accuracy is normal
2017-05-26 20:05:00.298230: I tensorflow/core/kernels/logging_ops.cc:79] eval/Accuracy[0.99077183]
2017-05-26 20:05:00.298274: I tensorflow/core/kernels/logging_ops.cc:79] eval/Recall_5[0.99731543624161079]

but how can i extract the avg_pool_15 feature? Thank you

from mobilenet.

Zehaos avatar Zehaos commented on May 29, 2024

Glad to hear that~

To extract the feature, you can use

end_point['avg_pool_15']

from mobilenet.

Zehaos avatar Zehaos commented on May 29, 2024

Are you applying MobileNet to face recognition task? The result seems quite well.

from mobilenet.

gjtjx avatar gjtjx commented on May 29, 2024

I am on person re-id task
evaluate step as
slim.evaluation.evaluate_once(
master=FLAGS.master,
checkpoint_path=checkpoint_path,
logdir=FLAGS.eval_dir,
num_evals=num_batches,
eval_op=list(names_to_updates.values()),
variables_to_restore=variables_to_restore)
how to get end_point by this function?

from mobilenet.

Zehaos avatar Zehaos commented on May 29, 2024

Cool~
It is a high level API. You have to hack into it or write a new script to extract the feature. It is not so difficult to write one.

from mobilenet.

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.