-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeyError: 0 #11
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Traceback (most recent call last):
File "sample.py", line 122, in
main()
File "sample.py", line 81, in main
model, epoch = train.get_model(args, experiment_dir=experiment_dir)
File "C:\Users\misho\midi-rnn-master\train.py", line 89, in get_model
model, epoch = utils.load_model_from_checkpoint(experiment_dir)
File "C:\Users\misho\midi-rnn-master\utils.py", line 126, in load_model_from_checkpoint
model = model_from_json(f.read())
File "C:\Users\misho\Anaconda3\envs\myenv2\lib\site-packages\keras\models.py", line 213, in model_from_json
return layer_from_config(config, custom_objects=custom_objects)
File "C:\Users\misho\Anaconda3\envs\myenv2\lib\site-packages\keras\utils\layer_utils.py", line 42, in layer_from_config
return layer_class.from_config(config['config'])
File "C:\Users\misho\Anaconda3\envs\myenv2\lib\site-packages\keras\models.py", line 1073, in from_config
first_layer = config[0]
KeyError: 0
The text was updated successfully, but these errors were encountered: