You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 2, 2020. It is now read-only.
My model has multiple losses and I get the following error using the KerasCallback. It seems that the callback sends a list which is not supported by the backend.
Traceback (most recent call last):
File "dsb_train.py", line 69, in <module>
pipeline=pipeline)
File "/Users/wouter/.aetros/wouterdewinter/dsb-2018/27546ea456ec6e659a5811e5cadd39eff5e4da26/dsb/model.py", line 325, in train
verbose=0
File "/Users/wouter/anaconda2/envs/deep-matting/lib/python3.6/site-packages/keras/legacy/interfaces.py", line 91, in wrapper
return func(*args, **kwargs)
File "/Users/wouter/anaconda2/envs/deep-matting/lib/python3.6/site-packages/keras/engine/training.py", line 2213, in fit_generator
callbacks.on_epoch_end(epoch, epoch_logs)
File "/Users/wouter/anaconda2/envs/deep-matting/lib/python3.6/site-packages/keras/callbacks.py", line 76, in on_epoch_end
callback.on_epoch_end(epoch, logs)
File "/Users/wouter/anaconda2/envs/deep-matting/lib/python3.6/site-packages/aetros/KerasCallback.py", line 271, in on_epoch_end
self.all_losses.send(log['epoch'], losses)
File "/Users/wouter/anaconda2/envs/deep-matting/lib/python3.6/site-packages/aetros/backend.py", line 292, in send
raise Exception('Could not send channel value for ' + self.name+' since type ' + type(y).__name__+' is not supported. Use int, float or string values.')
Exception: Could not send channel value for All loss since type list is not supported. Use int, float or string values.
My model has multiple losses and I get the following error using the KerasCallback. It seems that the callback sends a list which is not supported by the backend.