The Keras 2.0 branch leads to this error when running the file train.py.
File "train.py", line 85, in <module>
model.save(weights_file)
File "/home/ubuntu/anaconda3/envs/exp/lib/python3.6/site-packages/keras/engine/topology.py", line 2416, in save
save_model(self, filepath, overwrite)
File "/home/ubuntu/anaconda3/envs/exp/lib/python3.6/site-packages/keras/models.py", line 109, in save_model
topology.save_weights_to_hdf5_group(model_weights_group, model_layers)
File "/home/ubuntu/anaconda3/envs/exp/lib/python3.6/site-packages/keras/engine/topology.py", line 2708, in save_weights_to_hdf5_group
dtype=val.dtype)
File "/home/ubuntu/anaconda3/envs/exp/lib/python3.6/site-packages/h5py/_hl/group.py", line 119, in create_dataset
self[name] = dset
File "/home/ubuntu/anaconda3/envs/exp/lib/python3.6/site-packages/h5py/_hl/group.py", line 287, in __setitem__
h5o.link(obj.id, self.id, name, lcpl=lcpl, lapl=self._lapl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5o.pyx", line 202, in h5py.h5o.link
RuntimeError: Unable to create link (name already exists)
Hello,
Thanks for the implementation.
The Keras 2.0 branch leads to this error when running the file train.py.
could you please suggest a way to fix this issue?
Thanks