Code Monkey home page Code Monkey logo

Comments (6)

buseynehannes avatar buseynehannes commented on July 25, 2024

Having the same issue,
It's actually due to a change in the t5x library. You can fix it for now by checking out a specific commit before the commit that broke it, in the notebook or installation put
!cd t5x && pwd && git checkout c209e5d6e75f592414d5dd0b626fef0000f17b08 && cd..
under the clone of the t5x library
!git clone --branch=main https://github.com/google-research/t5x

This fixed the issue for me

from mt3.

douxsh avatar douxsh commented on July 25, 2024

I could not solve the problem even though I tried the method written above.
Could you explain how to do this in more detail?

from mt3.

Spagheta-DSi avatar Spagheta-DSi commented on July 25, 2024

I got a different error now.

   2455           return results
   2456   err_str = 'Unable to open file: {}. Searched config paths: {}.'
-> 2457   raise IOError(err_str.format(config_file, prefixes))
   2458 
   2459 

OSError: Unable to open file: /content/mt3/gin/model.gin. Searched config paths: [''].

from mt3.

buseynehannes avatar buseynehannes commented on July 25, 2024

Make sure you start from a clean runtime, reset the runtime if necessary
First cel looks like this for me

#@markdown Install MT3 and its dependencies (may take a few minutes).

!apt-get update -qq && apt-get install -qq libfluidsynth1 build-essential libasound2-dev libjack-dev

!pip install --upgrade pip
!pip install --upgrade jaxlib -f https://storage.googleapis.com/jax-releases/jax_releases.html
!pip install nest-asyncio
!pip install pyfluidsynth

# install t5x
!git clone --branch=main https://github.com/google-research/t5x
!cd t5x && pwd && git checkout c209e5d6e75f592414d5dd0b626fef0000f17b08 && cd..
!mv t5x t5x_tmp; mv t5x_tmp/* .; rm -r t5x_tmp
!sed -i 's:jax\[tpu\]:jax:' setup.py
!python3 -m pip install -e .

# install mt3
!git clone --branch=main https://github.com/magenta/mt3
!mv mt3 mt3_tmp; mv mt3_tmp/* .; rm -r mt3_tmp
!python3 -m pip install -e .

# copy checkpoints
!gsutil -q -m cp -r gs://mt3/checkpoints .

# copy soundfont (originally from https://sites.google.com/site/soundfonts4u)
!gsutil -q -m cp gs://magentadata/soundfonts/SGM-v2.01-Sal-Guit-Bass-V1.3.sf2 .

everything else works from there

from mt3.

iansimon avatar iansimon commented on July 25, 2024

This should be fixed once #23 is merged.

from mt3.

iansimon avatar iansimon commented on July 25, 2024

Should be fixed now.

from mt3.

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.