This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# must have miniconda installed | |
# installation for musicgen | |
conda create -n audiocraft python=3.9 | |
conda activate audiocraft | |
brew install ffmpeg (for mac) | |
winget install ffmpeg (for windows) | |
git clone https://github.com/facebookresearch/audiocraft.git | |
cd audiocraft | |
python -m pip install -r requirements.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
conda create --name myenv python=3.10.11 | |
conda activate myenv | |
conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia | |
pip install xformers | |
pip install audiocraft | |
pip install IPython |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Wire.h> | |
#define i2c_addr 0x4F | |
void setup() { | |
Serial.begin(9600); | |
Wire.begin(); | |
} | |
void loop() { |