Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

TensorRT? #25

Closed
Akababa opened this issue Dec 6, 2019 · 6 comments
Closed

TensorRT? #25

Akababa opened this issue Dec 6, 2019 · 6 comments
Labels
enhancement New feature or request

Comments

@Akababa
Copy link
Contributor

Akababa commented Dec 6, 2019

I'm trying to get tensorRT working but I need the saved_model.pb file. Can you upload it?

@ludns
Copy link

ludns commented Dec 7, 2019

+1 for that! We can do inference much better with a pb file :)

@ben-bay ben-bay added the enhancement New feature or request label Dec 9, 2019
@Akababa
Copy link
Contributor Author

Akababa commented Dec 10, 2019

@nickwalton any updates on getting the savedmodel.pb up for tinkering? Promise I'll only download it once to minimize your hosting costs!

@nickwalton
Copy link
Contributor

You should be able to load the model and save it as a savedmodel.pb. Can't you reconstruct it from the model?

@Akababa
Copy link
Contributor Author

Akababa commented Dec 10, 2019

I tried a few different ways but couldn't get it to work for some reason. Do you happen to have a working code example or know the names of the variables to export?

One of the solutions I tried: https://blog.metaflow.fr/tensorflow-how-to-freeze-a-model-and-serve-it-with-a-python-api-d4f3596b3adc

@nickwalton
Copy link
Contributor

nickwalton commented Dec 10, 2019 via email

@Akababa
Copy link
Contributor Author

Akababa commented Dec 10, 2019

That worked! Beautiful, thanks

@ben-bay ben-bay closed this as completed Dec 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants