Giter Club home page Giter Club logo

Comments (10)

nicolalandro avatar nicolalandro commented on June 12, 2024 1

Ok, I will do it!

from nnsvs.

nicolalandro avatar nicolalandro commented on June 12, 2024 1

Thank You! It works correctly on Colab! I close this issue and I start to work on Streamlit app like in the issue!

from nnsvs.

nicolalandro avatar nicolalandro commented on June 12, 2024

I think that another fix is to correctly install pysinsy by update submodule before install

! cd pysinsy && git submodule update --recursive --init && export SINSY_INSTALL_PREFIX=/usr/ && pip install -q .

from nnsvs.

nicolalandro avatar nicolalandro commented on June 12, 2024

Now I have the problem at Time-lag model

---------------------------------------------------------------------------

ConfigAttributeError                      Traceback (most recent call last)

[<ipython-input-16-1af2a256b7d5>](https://localhost:8080/#) in <module>()
      1 timelag_config = OmegaConf.load(join(model_dir, "timelag", "model.yaml"))
----> 2 timelag_model = hydra.utils.instantiate(timelag_config.netG).to(device)
      3 checkpoint = torch.load(join(model_dir, "timelag", "latest.pth"), map_location=lambda storage, loc: storage)
      4 timelag_model.load_state_dict(checkpoint["state_dict"])
      5 timelag_in_scaler = joblib.load(join(model_dir, "in_timelag_scaler.joblib"))

6 frames

[/usr/local/lib/python3.7/dist-packages/omegaconf/dictconfig.py](https://localhost:8080/#) in _get_node(self, key, validate_access, throw_on_missing_value, throw_on_missing_key)
    468         if value is None:
    469             if throw_on_missing_key:
--> 470                 raise ConfigKeyError(f"Missing key {key}")
    471         elif throw_on_missing_value and value._is_missing():
    472             raise MissingMandatoryValue("Missing mandatory value: $KEY")

ConfigAttributeError: Missing key to
    full_key: netG.to
    object_type=dict

from nnsvs.

nicolalandro avatar nicolalandro commented on June 12, 2024

Also hts_engine do not install correctly, I try to do the following commands:

! cd hts_engine_API/src && mkdir -p build && cd build && cmake .. && cmake --build . --config Release

And also sinsy fail the install

! cd sinsy && git submodule update --recursive --init && cd src && mkdir -p build && cd build && cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON  .. && make -j && sudo make install

from nnsvs.

nicolalandro avatar nicolalandro commented on June 12, 2024

In that modified notebook seams that the installation of the libraries works correctly Neural_network_based_singing_voice_synthesis_demo_using_kiritan_singing_database_(Japanese).zip .

Sometimes the import box should be run two times (that can be a first smell).

After I arrive to the Time-lag model box and I reach:

---------------------------------------------------------------------------

ConfigAttributeError                      Traceback (most recent call last)

[<ipython-input-16-1af2a256b7d5>](https://localhost:8080/#) in <module>()
      1 timelag_config = OmegaConf.load(join(model_dir, "timelag", "model.yaml"))
----> 2 timelag_model = hydra.utils.instantiate(timelag_config.netG).to(device)
      3 checkpoint = torch.load(join(model_dir, "timelag", "latest.pth"), map_location=lambda storage, loc: storage)
      4 timelag_model.load_state_dict(checkpoint["state_dict"])
      5 timelag_in_scaler = joblib.load(join(model_dir, "in_timelag_scaler.joblib"))

6 frames

[/usr/local/lib/python3.7/dist-packages/omegaconf/dictconfig.py](https://localhost:8080/#) in _get_node(self, key, validate_access, throw_on_missing_value, throw_on_missing_key)
    468         if value is None:
    469             if throw_on_missing_key:
--> 470                 raise ConfigKeyError(f"Missing key {key}")
    471         elif throw_on_missing_value and value._is_missing():
    472             raise MissingMandatoryValue("Missing mandatory value: $KEY")

ConfigAttributeError: Missing key to
    full_key: netG.to
    object_type=dict

@r9y9 Any idea about that problem? Seams that it cannot be loaded into GPU, without the .to(device), it seams to work and break in the next instruction.

from nnsvs.

r9y9 avatar r9y9 commented on June 12, 2024

Sorry for the inconvenience. I am currently working on a huge refactoring. After finishing it, I will update the notebook.

from nnsvs.

nicolalandro avatar nicolalandro commented on June 12, 2024

Thank you! Can I help in some way?

from nnsvs.

r9y9 avatar r9y9 commented on June 12, 2024

Sure. I'd appreciate it if you can help to test once the huge refactoring settled down.

from nnsvs.

r9y9 avatar r9y9 commented on June 12, 2024

Hi @nicolalandro, I've merged the #81 and made a new demo notebook. I think the installation process now became much more simpler.

Could you check if it works for you? Also, I'd appreciate it if you make a streamlet app version of the demo! Any feedbacks or PRs are welcomed.

Side note: The notebook above focuses on Japanese singing voice synthesis. It shouldn't be difficult to make a demo for other languages. However, I have no experience using nnsvs for non-Japanese languages and not sure what's the best idea.

from nnsvs.

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.