question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

inferencing using the saved_model.pb

See original GitHub issue

Hello there,

Thanks for sharing your project with us. I want to use the saved_model.pb in order to run the inferencing. To put it another way, the same as test_shadownet.py which test on a single image, but I want to do the save using the saved model. can you please help me with this?

Your help is much appreciated.

The reason I want to change the test_shadownet.py is that it uses

    codec = tf_io_pipline_fast_tools.CrnnFeatureReader(
        char_dict_path=char_dict_path,
        ord_map_dict_path=ord_map_dict_path
    )

    net = crnn_net.ShadowNet(
        phase='test',
        hidden_nums=CFG.ARCH.HIDDEN_UNITS,
        layers_nums=CFG.ARCH.HIDDEN_LAYERS,
        num_classes=CFG.ARCH.NUM_CLASSES
    )

But I want to use ur model seperately in another environment without needing to any modules.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
MaybeShewill-CVcommented, May 2, 2019

@saria85 I will release a model trained on this dataset once I got spare time:)

1reaction
MaybeShewill-CVcommented, Jul 25, 2019

@AhmadShaik You may first see synth90k dataset and understand it’s format and make yourown dataset reference to their format:)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using the SavedModel format | TensorFlow Core
A SavedModel is a directory containing serialized signatures and the state needed to run them, including variable values and vocabularies. ... The saved_model.pb...
Read more >
Tensorflow 2.0 inference with SavedModel or frozen_graph.pb
What is the best way to do the inference with TF models? So far it is common to use a frozen_graph.pb for inference...
Read more >
How to do inference from videos using tensorflow 2.0 saved ...
Hello everyone! Actually I have trained a object detection model using tensorflow 2.0 API but I have frozen graph and saved model directory ......
Read more >
Save, Load and Inference From TensorFlow Frozen Graph
In my code, I wrapped saving checkpoint using tf.train.Saver in self.save method. Saving graph is to use tf.train.write_graph . There are two ...
Read more >
Hello AI World with my own savedmodel (.pb) - Jetson Nano
I have developed my own neural network for object detection and I have a model in the form of a saved_model.pb(+ saved_model.pbtxt with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found