Mididice is started from "Can A.I replace human creativity?" This project is creating music using deeplearning. This algorithms for generating midi is used Magenta. A.I's music is composed by organically connecting with the previous node by learning the data of the selected / created node as input.
docker build -t "server" .
docker-compose up -d
mkdir midifile
mkdir midiresult
python3 -m venv env(python3 -m virtualenv env)
source env/bin/activate
pip install -r requirements.txt (maybe you need to update pip and upgrade setuptools)
python manage.py runserver
mkdir midifile
mkdir midiresult
python -m venv env(python -m virtualenv env)
call env\Scripts\activate(env\Scripts\activate)
pip install -r requirements.txt
python manage.py runserver
or
run scritps file
just double click start.bat in scripts dir
- sudo apt-get remove docker docker-engine docker.io containerd runc
- apt-get install
- sudo apt-get install
ca-certificates
curl
gnupg
lsb-release - sudo mkdir -m 0755 -p /etc/apt/keyrings
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
- echo
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null - sudo apt-get update
- sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
- sudo usermod -aG docker $USER
- 재접속