Comments (4)
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
from ddsp.
I'm experiencing exactly the same issue with macOS. Currently clueless where to debug the installation(
from ddsp.
I am experiencing the exact same issue
from ddsp.
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)
- Here's an example to transfer timbre in browser [Docs]
- Plugin not appearing in Ableton Live (Macbook pro M1) HOT 1
- Train VST Colab shows as idle when training
- TrainVST colab shows as idle when training
- Any chance to get the colab demo working again? HOT 2
- Possible to use VST model programmatically? HOT 1
- OnlineF0PowerPreprocessor cannot function with compute_power = False.
- No module crepe
- AttributeError: module 'hmmlearn.hmm' has no attribute 'CategoricalHMM'
- AttributeError: module 'hmmlearn.hmm' has no attribute 'CategoricalHMM'
- AttributeError: module 'hmmlearn.hmm' has no attribute 'CategoricalHMM'
- AttributeError: module 'collections' has no attribute 'Iterable'
- python environment Mac M1 HOT 1
- train_autoencoder.ipynb error I got HOT 1
- ImportError: cannot import name 'dtensor_api' from 'keras.dtensor' HOT 5
- vst notebook
- error when training !
- pip is repeatedly installing various versions of same packages HOT 9
- Question About Midi Autoencoder
- Failed building wheel for llvmlite, Could not build wheels for numba, llvmlite, which is required to install pyproject.toml-based projects HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ddsp.