from model import load_model | |
melody_generator = load_model("path/to/model.h5", "path/to/mapping.json") | |
seed = "60 _ 60 _ 67 _ 67 _ 69 _ 69 _ 67 _ _" | |
melody = melody_generator.generate_melody(seed, 500, 64, 0.3) |
from model import load_model | |
melody_generator = load_model("path/to/model.h5", "path/to/mapping.json") | |
seed = "60 _ 60 _ 67 _ 67 _ 69 _ 69 _ 67 _ _" | |
melody = melody_generator.generate_melody(seed, 500, 64, 0.3) |