Traceback (most recent call last):


 "/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)


 "/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 85, in _run_code

exec(code, run_globals)


 "/Users/henry/code/altum/model-trainer/export/export.py", line 54, in <module>

k_model = pytorch_to_keras(model, [input_x, input_y], [(10,), (5,)], verbose=True)


 "/usr/local/lib/python3.6/site-packages/pytorch2keras/converter.py", line 332, in pytorch_to_keras

names


 "/usr/local/lib/python3.6/site-packages/pytorch2keras/linear_layers.py", line 49, in convert_gemm

layers[scope_name] = dense(layers[inputs[0]])


 "/usr/local/lib/python3.6/site-packages/keras/engine/base_layer.py", line 436, in __call__

self.set_weights(self._initial_weights)


 "/usr/local/lib/python3.6/site-packages/keras/engine/base_layer.py", line 1057, in set_weights

'provided weight shape ' + str(w.shape))
ValueError: Layer weight shape (5, 10) not compatible with provided weight shape (10, 10)

Traceback (most recent call last):


 "<string>", line 538, in render


 "<string>", line 1940, in lines
ValueError: max() arg is an empty sequence
