Closed zutron closed 5 years ago
Can you post the full trace.
Sure - here's one from a quick test run I just did:
`ValueError Traceback (most recent call last)
I think this should be fixed in v.0.6:
pip install git+http://github.com/autonomio/talos@daily-dev
Can you try that and let me know how it goes. Thanks!
Given there is no update, I'm assuming this was resolved. Feel free to reopen / open new ticket if anything.
Just a quick note to let you know that I seem to be running into errors when using class_weights as a search parameter.
My model.fit:
history = model.fit(x_train, y_train, validation_data=[x_val, y_val], batch_size=params['batch_size'], epochs=params['epochs'], verbose=0, class_weight= params['classweights'], callbacks=[early_stopper(params['epochs'], mode='moderate',monitor = 'val_pos_f1_score')])
My parameter dictionary:
... 'classweights':[{0:1, 1:0.5},{0:1, 1:1},{0:1, 1:2},{0:1, 1:3}] ...
The scan actually runs fine, but crashes at the upon scan completion with the following error:
Length mismatch: Expected axis has 23 elements, new values have 22 elements
Can post full code and error if needed, though should be easy enough to reproduce.