Giter VIP home page Giter VIP logo

Comments (9)

dathudeptrai avatar dathudeptrai commented on May 14, 2024

@gongchenghhu hi, it's not ez to convert Tacotron2 to tflite, need to write custom C++ ops. Even you can convert and run it on low-device, it's still cann't run real time :(. I suggest you use FastSpeech instead. For fake-quantize aware and pruning, you can refer official doc here (https://www.tensorflow.org/model_optimization/guide/quantization/training_comprehensive_guide). I don't really know how much tensorflow support fake-quantize and pruning for LSTM, but if model is just consist of Convolution, everything would be ok, i think. BTW, how was a quality of ur tacotron ?

from tensorflowtts.

gongchenghhu avatar gongchenghhu commented on May 14, 2024

@dathudeptrai Thanks for your reply. I will try the fake-quantize aware and pruning (https://www.tensorflow.org/model_optimization/guide/quantization/training_comprehensive_guide)

from tensorflowtts.

manmay-nakhashi avatar manmay-nakhashi commented on May 14, 2024

@gongchenghhu @dathudeptrai i am also trying to convert fastspeech model to Tflite and it is crashing in length regulator

from tensorflowtts.

manmay-nakhashi avatar manmay-nakhashi commented on May 14, 2024

@gongchenghhu @dathudeptrai you can follow this issue for TFLite conversion, tensorflow/tensorflow#40504 , can you also tell help me with this ?

from tensorflowtts.

gongchenghhu avatar gongchenghhu commented on May 14, 2024

@manmay-nakhashi ok, I will see your issue.

from tensorflowtts.

dathudeptrai avatar dathudeptrai commented on May 14, 2024

@gongchenghhu @manmay-nakhashi sorry :)). Hope Tensorflower can help you in this case :D

from tensorflowtts.

manmay-nakhashi avatar manmay-nakhashi commented on May 14, 2024

@dathudeptrai haha :P

from tensorflowtts.

manmay-nakhashi avatar manmay-nakhashi commented on May 14, 2024

@gongchenghhu i was able to convert melgan to tflite , i think we can try to convert Fastspeeh2 to tflite , structurally model code seems to be easier then tacotron2 and fastspeech
@dathudeptrai do you think that would be good addition to repo ?

from tensorflowtts.

sujeendran avatar sujeendran commented on May 14, 2024

@manmay-nakhashi Could it be possible for you to share how you managed to convert melgan to tflite? Is the tflite model capable of inferencing?

from tensorflowtts.

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.