Traceback (most recent call last):


 "train.py", line 381, in <module>

main()


 "train.py", line 333, in main

model.load_weights(args.snapshot, by_name=True)


 "/tensorflow-1.15.0/python3.6/tensorflow_core/python/keras/engine/training.py", line 182, in load_weights

return super(Model, self).load_weights(filepath, by_name)


 "/tensorflow-1.15.0/python3.6/tensorflow_core/python/keras/engine/network.py", line 1371, in load_weights

saving.load_weights_from_hdf5_group_by_name(f, self.layers)


 "/tensorflow-1.15.0/python3.6/tensorflow_core/python/keras/saving/hdf5_format.py", line 745, in load_weights_from_hdf5_group_by_name

str(len(weight_values)) + ' element(s).')
ValueError: Layer #334 (named "fpn_cells/cell_0/fnode0/add") expects 0 weight(s), but the saved weights have 1 element(s).

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/Users/frazer/.pyenv/versions/venv/lib/python3.7/site-packages/werkzeug/wrappers/base_response.py", line 202, in __init__

self.status = status


 "/Users/frazer/.pyenv/versions/venv/lib/python3.7/site-packages/werkzeug/wrappers/base_response.py", line 319, in _set_status

raise ValueError("Empty status argument")
ValueError: Empty status argument
