Comments (2)
Either buy a new GPU, or decrease the model parameters.
The following configuration worked for me, in config/base.yml
experiment: 'embedding128-layer2'
max_seq: 1024
embedding_dim: 128
num_layers: 2
event_dim: 388
fp16:
In config/generate.yml
save_path: 'bin/generated.mid'
condition_file:
length: 300
threshold_len: 200
Then run
python train.py -c config/base.yml config/generate.yml config/train.yml -m model_dir
from musictransformer-pytorch.
Thank you!
from musictransformer-pytorch.
Related Issues (13)
- bool value of Tensor with more than one value is ambiguous HOT 2
- Have a question about model
- calculate Velocity in file processor.py
- relative distance 연산 HOT 1
- about Validation NLL for Piano-e-Competition dataset
- NotADirectoryError: [Errno 20] Not a directory: 'model.py/save.yml' while training
- download the dataset error
- train.py-----KeyError: 'event_dim'
- a mistake in the "train.py" HOT 3
- Improving embedding HOT 2
- Pretrained model? HOT 4
- IndexError Raised While Training HOT 3
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 musictransformer-pytorch.