Git Product home page Git Product logo

Comments (4)

cerkut avatar cerkut commented on July 22, 2024 5

ddsp is working on my M1 using mini-forge. I first created a conda environment and installed M1-TF per apple instructions: https://developer.apple.com/metal/tensorflow-plugin/ and tested TF with M1 & GPU

conda create python=3.10.6 --name <NAME> # mine is TF
conda activate <NAME>  # mine is TF
conda install -c apple tensorflow-deps
python -m pip install tensorflow-macos
python -m pip install tensorflow-metal

Then, installed ddsp and tensorflowjs without dependencies, as they create the main issue:
python -m pip install tensorflowjs ddsp --no-dependencies

After this, I installed everything in the setup.py using conda/pip. The following could be a good start:

# the rest with normal pip
pip install hypertune tensorflow_probability librosa crepe tflite_support hmmlearn future gin-config gin 

Then I started with the examples, and installed every missing package until I could make a harmonic synth and a noise synth.

I attach my conda yaml for an easier install. After installing ddsp and tensorflowjs without the dependencies. downloading the attached config as text, and changing the extension from (.txt) to (.yml) you'll be able to re-create my working environment easily.

conda env update --name TF --file ddsp-m1.yml

Hope these help. Note that everything is on your own risk, and I did not test more advanced functionalities of DDSP like model saving or MFCC calculations, etc. I won't be able to continuously support M1++ installs in the future, as Apple changes their tensorflow-plugin frequently and I don't work for Apple or Google. Finally, installing packages without careful checking of config files may result in running malicious code, in general.

Good luck

ddsp-m1.txt

from ddsp.

EntroSanity avatar EntroSanity commented on July 22, 2024

I'm experiencing exactly the same issue with macOS. Currently clueless where to debug the installation(

from ddsp.

PratikStar avatar PratikStar commented on July 22, 2024

I am experiencing the exact same issue

from ddsp.

mariopsa avatar mariopsa commented on July 22, 2024

Hello, anyone who installed ddsp library on M1? I have already install tensorflow in my conda enviroment, but the conda uptadte env with the yml file didnt work for me, I tried using the python 3.8 and python 3.10 too, anyone has a clue or could comment the way to install it?

from ddsp.

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.