Giter Club home page Giter Club logo

Comments (6)

aedocw avatar aedocw commented on June 11, 2024

I don't think you're doing anything wrong, what you describe is exactly how I am using fine-tuned models. I suspect this is an issue with windows path names. The error is from TTS but possibly a result of how I'm specifying the path to the model.

I have never tried running this in windows directly (I run it in WSL). I'll try to install and run this directly in windows and see if I can recreate the issue, and go from there.

from epub2tts.

danielw97 avatar danielw97 commented on June 11, 2024

Okay thanks, I can also run in wsl as well if that's easier for the moment.

from epub2tts.

danielw97 avatar danielw97 commented on June 11, 2024

Edit: I may have figured this out, as I wasn't passing a wav file as I perhaps falsely assumed it would use the data it was trained on.
I've passed a wav file now and I assume the finetuned model is being used as there is significant improvement.

from epub2tts.

aedocw avatar aedocw commented on June 11, 2024

OH! I had NOT looked closely at your example of how you are calling epub2tts and I noticed a few things that could be impacting it. Calling it the same way you are, I am able to recreate this and I think it's because of argument parsing. I need to improve the error handling so it gives better feedback.

When calling "--xtts", the code expects at least one wav/mp3 file as a voice sample. Second, the epub or txt file should be the first argument supplied. Could you try "epub2tts sample.txt --xtts sample.wav --model modelname" and let me know if that works?

from epub2tts.

danielw97 avatar danielw97 commented on June 11, 2024

That's great, we're responding at nearly the same time, although I've just edited my previous comment.
I've figured this out now as it's expecting a wav file which I'm now supplying.

from epub2tts.

aedocw avatar aedocw commented on June 11, 2024

OK got this sorted out. Your initial call would now exit with this error:
"EpubToAudiobook: error: argument --xtts: expected one argument"

It is OK to specify the source epub or text file at the end of the line as you initially tried. I'm merging the minor fixes now. Thank you again and as always for reporting the problems you find, glad you are using it!

from epub2tts.

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.