praca-magisterska/project/settings.py

18 lines
458 B
Python
Raw Normal View History

2019-05-28 12:40:26 +02:00
# paths
midi_dir = 'data/midi'
samples_dir = 'data/samples'
samples_path = 'data/samples.npz'
model_path = 'data/autoencoder_model.h5'
generated_sample_path = 'data/output/generated_bar.npz'
generated_midi_path = 'data/output/generated_midi.mid'
generated_pianoroll_path = 'data/output/pianoroll.png'
# export_settings
midi_resolution = 96
beat_resolution = 24
beats_per_sample = 1
ignore_note_lenght = False
#train_settings
epochs = 1000