Closed anetschka closed 5 years ago
Hi, I have built a multi-input model with Keras. Hyperas (or hyperopt?) seems to hve difficulty in finding my inputs.
My data generator looks as follows (DataGetter is a custom class):
The signature of create_model looks like this: def create_model(train, train_bitmap, train_start_end_bitmap, train_labels, dev, dev_bitmap, dev_start_end_bitmap, dev_labels)
def create_model(train, train_bitmap, train_start_end_bitmap, train_labels, dev, dev_bitmap, dev_start_end_bitmap, dev_labels)
And I call hyperas just like in the documentation:
Unfortunately, the return statement in the data method seems to be flawed:
This is my stacktrace:
Any hints on how to debug this?
Cheers, Anne
Hi, I have built a multi-input model with Keras. Hyperas (or hyperopt?) seems to hve difficulty in finding my inputs.
My data generator looks as follows (DataGetter is a custom class):
The signature of create_model looks like this:
def create_model(train, train_bitmap, train_start_end_bitmap, train_labels, dev, dev_bitmap, dev_start_end_bitmap, dev_labels)
And I call hyperas just like in the documentation:
Unfortunately, the return statement in the data method seems to be flawed:
This is my stacktrace:
Any hints on how to debug this?
Cheers, Anne