Giter VIP home page Giter VIP logo

Comments (7)

ZDisket avatar ZDisket commented on May 14, 2024

Do you have a folder or other modules that go by 'examples'? That issue is common in Google Colaboratory. Or maybe the folder TensorflowTTS isn't in your sys.path

from tensorflowtts.

dathudeptrai avatar dathudeptrai commented on May 14, 2024

I don't know why it happened, in my case, i use anaconda and virtualen, everything work fine :)

from tensorflowtts.

jun-danieloh avatar jun-danieloh commented on May 14, 2024

This is happening to me as well. I am using Docker environment...

root@deepbasegpu148:/home/jun1.oh/daniel_workspace/tacotron2_dathudeptrai_tf2# CUDA_VISIBLE_DEVICES=2 python3 ./examples/tacotron2/train_tacotron2.py --train-dir ./dump/train/ --dev-dir ./dump/valid/ --outdir ./examples/tacotron2/exp/train.tacotron2.v1/ --config ./examples/tacotron2/conf/tacotron2.v1.yaml --use-norm 1
Traceback (most recent call last):
  File "./examples/tacotron2/train_tacotron2.py", line 31, in <module>
    from examples.tacotron2.tacotron_dataset import CharactorMelDataset
ModuleNotFoundError: No module named 'examples.tacotron2'

from tensorflowtts.

MokkeMeguru avatar MokkeMeguru commented on May 14, 2024

We should use

from tensorflow_tts.examples ...

instead of

from examples ...

in whole example script.

Because we use tensorflow-tts package, not example package.

from tensorflowtts.

MokkeMeguru avatar MokkeMeguru commented on May 14, 2024

Sorry, my mistake. We should use

import sys
sys.path.append(".")

import ...

from tensorflowtts.

MokkeMeguru avatar MokkeMeguru commented on May 14, 2024

We now solved the problem I think.
Can you try below code?

git clone https://github.com/TensorSpeech/TensorflowTTS TTTS
cd TTTS
docker-compose build
docker-compose up -d
docker-compose exec tensoflowtts /bin/bash
python examples/tacotron2/train_tacotron2.py 
# ...

from tensorflowtts.

dathudeptrai avatar dathudeptrai commented on May 14, 2024

i closed since it solved

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.