Code Monkey home page Code Monkey logo

Comments (4)

victordibia avatar victordibia commented on July 23, 2024

Hi,

This error is likely due to differences in tensorflow version.
My advice is that you use the checkpoint data I provide and export a frozen graph using your tensorflow version.
There is a discussion on this in issue #1

The exported model checkpoint is here.
A tutorial on how to export the frozen graph is here ..

-V.

from handtracking.

jianghongsun avatar jianghongsun commented on July 23, 2024

Thank you for your reply! Execute the following instructions:
python3 export_inference_graph.py
--input_type image_tensor
--pipeline_config_path traning/ssd_mobilenet_v1_coco.config
--trained_checkpoint_prefix traning/model.ckpt-200002.data-00000-of-00001
--output_directory NEW
I met the problems is that:
Traceback (most recent call last):
File "export_inference_graph.py", line 119, in
tf.app.run()
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "export_inference_graph.py", line 115, in main
FLAGS.output_directory, input_shape)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/models/research/object_detection/exporter.py", line 422, in export_inference_graph
is_training=False)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/models/research/object_detection/builders/model_builder.py", line 83, in build
return _build_ssd_model(model_config.ssd, is_training)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/models/research/object_detection/builders/model_builder.py", line 139, in _build_ssd_model
is_training)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/models/research/object_detection/builders/model_builder.py", line 107, in _build_ssd_feature_extractor
pad_to_multiple = feature_extractor_config.pad_to_multiple
AttributeError: 'SsdFeatureExtractor' object has no attribute 'pad_to_multiple'
I have a question which of the three .ckpt files to choose .Thank you for you reply!

from handtracking.

victordibia avatar victordibia commented on July 23, 2024

All of the ckpt files are for the same checkpoint model.ckpt-200002
I recommend you look at the tutorial video in the link I shared (its short), it does a good job of explaining the model export process!

Best!

-V.

from handtracking.

jianghongsun avatar jianghongsun commented on July 23, 2024

Thank you very much for your help. I realized the function. I have the problems are that whether you test the model in image set and what is the accuracy rate?

from handtracking.

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.