-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathREADME
39 lines (27 loc) · 942 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
This package is meant to be used for training a Conditional Restricted Boltzmann machine
to generate drum patterns.
Example training and generation scripts are: crbm_train.py and crbm_gen.py
Requirements:
* CUDA
* CUDAMat
* python-midi
Included:
* Gnumpy: http://www.cs.toronto.edu/~tijmen/gnumpy.html
* npmat: http://www.cs.toronto.edu/~ilya/npmat.py
Obtaining and Installing the above:
* CUDA can be downloaded from: https://developer.nvidia.com/cuda-downloads
please note that a CUDA-capable Nvidia GPU is required
* CUDAMat
checkout:
hg clone https://code.google.com/p/cudamat/
install:
cd cudamat
# for mac: add '-m 64' to nvcc lines in Makefile
make
export PYTHONPATH=$PYTHONPATH:`pwd`
test:
python test_cudamat.py
* python-midi
git clone https://github.com/ebattenberg/python-midi.git
cd python-midi
python setup.py install