Traceback (most recent call last):


 "/usr/lib/python3/dist-packages/wx/core.py", line 3190, in <lambda>

lambda event: event.callable(*event.args, **event.kw) )
RuntimeError: wrapped C/C++ object of type GcodeViewPanel has been deleted

Traceback (most recent call last):


 "/media/brx/2d79a6a5-f419-aa4c-b391-314a73033208/project/Word_vector/bert4keras/examples/task_seq2seq.py", line 210, in <module>

callbacks=[evaluator]


 "/home/brx/.local/lib/python2.7/site-packages/keras/legacy/interfaces.py", line 91, in wrapper

return func(*args, **kwargs)


 "/home/brx/.local/lib/python2.7/site-packages/keras/engine/training.py", line 1732, in fit_generator

initial_epoch=initial_epoch)


 "/home/brx/.local/lib/python2.7/site-packages/keras/engine/training_generator.py", line 260, in fit_generator

callbacks.on_epoch_end(epoch, epoch_logs)


 "/home/brx/.local/lib/python2.7/site-packages/keras/callbacks/callbacks.py", line 152, in on_epoch_end

callback.on_epoch_end(epoch, logs)


 "/media/brx/2d79a6a5-f419-aa4c-b391-314a73033208/project/Word_vector/bert4keras/examples/task_seq2seq.py", line 197, in on_epoch_end

model.save_weights('./best_model.weights')


 "/home/brx/.local/lib/python2.7/site-packages/keras/engine/saving.py", line 449, in save_wrapper

save_function(obj, filepath, overwrite, *args, **kwargs)


 "/home/brx/.local/lib/python2.7/site-packages/keras/engine/network.py", line 1184, in save_weights

saving.save_weights_to_hdf5_group(f, self.layers)


 "/home/brx/.local/lib/python2.7/site-packages/keras/engine/saving.py", line 761, in save_weights_to_hdf5_group

dtype=val.dtype)


 "/home/brx/.local/lib/python2.7/site-packages/h5py/_hl/group.py", line 139, in create_dataset

self[name] = dset


 "/home/brx/.local/lib/python2.7/site-packages/h5py/_hl/group.py", line 373, in __setitem__

h5o.link(obj.id, self.id, name, lcpl=lcpl, lapl=self._lapl)


 "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper


 "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper


 "h5py/h5o.pyx", line 202, in h5py.h5o.link
RuntimeError: Unable to create link (name already exists)