Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quantized Model? #48

Closed
fjparrado opened this issue May 12, 2021 · 3 comments
Closed

Quantized Model? #48

fjparrado opened this issue May 12, 2021 · 3 comments

Comments

@fjparrado
Copy link

Hi,

I am trying to use the trained model in my TPU, so I need to quantize the model (using TF1).

I think I must add the line contrib_quantize.create_training_graph(input_graph=self._sess.graph, quant_delay=0) inside the __init__ function of the file BiseNetV2CityScapesTrainer.py. However it is a bit unclear to me exactly where .

Would you have any recommendation?
Thanks

@MaybeShewill-CV
Copy link
Owner

@dragonvenenoso Sry doesn't have any experience in tf quant:)

@fjparrado
Copy link
Author

Thanks for the answer. Yes... TF1 Quant is a nightmare

@MaybeShewill-CV
Copy link
Owner

@dragonvenenoso I will keep you informed if I get something valuable:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants