Traceback (most recent call last):


 "C:\Users\msawada\.conda\envs\deeplearning\lib\site-packages\IPython\core\interactiveshell.py", line 3296, in run_code

exec(code_obj, self.user_global_ns, self.user_ns)


 "<ipython-input-5-18a3e434c8b8>", line 1, in <module>

test = load_model(os.path.join(folder_path, 'fitted_model.h5'))


 "C:\Users\msawada\.conda\envs\deeplearning\lib\site-packages\keras\engine\saving.py", line 419, in load_model

model = _deserialize_model(f, custom_objects, compile)


 "C:\Users\msawada\.conda\envs\deeplearning\lib\site-packages\keras\engine\saving.py", line 274, in _deserialize_model

reshape=False)


 "C:\Users\msawada\.conda\envs\deeplearning\lib\site-packages\keras\engine\saving.py", line 682, in preprocess_weights_for_loading

weights = convert_nested_model(weights)


 "C:\Users\msawada\.conda\envs\deeplearning\lib\site-packages\keras\engine\saving.py", line 658, in convert_nested_model

original_backend=original_backend))


 "C:\Users\msawada\.conda\envs\deeplearning\lib\site-packages\keras\engine\saving.py", line 682, in preprocess_weights_for_loading

weights = convert_nested_model(weights)


 "C:\Users\msawada\.conda\envs\deeplearning\lib\site-packages\keras\engine\saving.py", line 670, in convert_nested_model

original_backend=original_backend))


 "C:\Users\msawada\.conda\envs\deeplearning\lib\site-packages\keras\engine\saving.py", line 800, in preprocess_weights_for_loading

elif layer_weights_shape != weights[0].shape:
IndexError: list index out of range

```Traceback (most recent call last):


 "/usr/local/bin/thefuck", line 11, in <module>

sys.exit(main())


 "/usr/local/lib/python3.5/dist-packages/thefuck/entrypoints/main.py", line 26, in main

fix_command(known_args)


 "/usr/local/lib/python3.5/dist-packages/thefuck/entrypoints/fix_command.py", line 42, in fix_command

selected_command = select_command(corrected_commands)


 "/usr/local/lib/python3.5/dist-packages/thefuck/ui.py", line 71, in select_command

selector = CommandSelector(corrected_commands)


 "/usr/local/lib/python3.5/dist-packages/thefuck/ui.py", line 34, in __init__

self._commands = [next(self._commands_gen)]


 "/usr/local/lib/python3.5/dist-packages/thefuck/corrector.py", line 43, in organize_commands

first_command = next(corrected_commands)


 "/usr/local/lib/python3.5/dist-packages/thefuck/corrector.py", line 74, in <genexpr>

for corrected in rule.get_corrected_commands(command))


 "/usr/local/lib/python3.5/dist-packages/thefuck/types.py", line 189, in get_corrected_commands

new_commands = self.get_new_command(command)


 "<decorator-gen-104>", line 2, in get_new_command


 "/usr/local/lib/python3.5/dist-packages/thefuck/specific/git.py", line 32, in git_support

return fn(command)


 "/usr/local/lib/python3.5/dist-packages/thefuck/rules/git_push.py", line 36, in get_new_command

arguments = re.findall(r'git push (.*)', command.output)[0].strip()
IndexError: list index out of range
