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 }}
Repository navigation
The following problems occurred when running "cd src/hbp -> python main.py -c hb19.yaml" Would you please help me? Thank you very much. #8
Traceback (most recent call last):
File "main.py", line 110, in <module>
my_callback = main(sys.argv[1:], 0)
File "main.py", line 99, in main
model.compile(optimizer = optim, loss = loss_dict, hedge = config['hedge'],loss_weights = loss_weights, metrics = ['accuracy'])
File "/home/tyan/.local/lib/python2.7/site-packages/keras/engine/training.py", line 684, in compile
total_loss = K.sum(K.dot(self.holder, self.metrics_tensors))
File "/home/tyan/.local/lib/python2.7/site-packages/keras/backend/theano_backend.py", line 238, in dot
if is_sparse(x):
File "/home/tyan/.local/lib/python2.7/site-packages/keras/backend/theano_backend.py", line 49, in is_sparse
return th_sparse_module and isinstance(tensor.type, th_sparse_module.SparseType)
AttributeError: 'list' object has no attribute 'type'
Activity