I have just started using Hyperas for my keras optimisation. I created a CNN1D model and train this model on a dataset which achieved 30/40 accuracy at the first few epochs and obtained about 64% accuracy after few hundreds of epochs. Tried exactly the same model and parameters and with the same dataset on hyperas but could not get the same accuracy scores on the first epochs or after hundred of epochs. the accuracy stays at 18% and both training and validation loss are static. I had my colleague to test and review my code and his conclusion is the same.
Also, I run the code in Jupyter notebook and not sure why I have to restart the kernel for changes to the create_model function to take effect?
Appreciate any help given on this. Here is my code without the data() function:
`
def create_model_test(x_train, y_train, x_test, y_test):
from keras import backend
backend.clear_session()
I have just started using Hyperas for my keras optimisation. I created a CNN1D model and train this model on a dataset which achieved 30/40 accuracy at the first few epochs and obtained about 64% accuracy after few hundreds of epochs. Tried exactly the same model and parameters and with the same dataset on hyperas but could not get the same accuracy scores on the first epochs or after hundred of epochs. the accuracy stays at 18% and both training and validation loss are static. I had my colleague to test and review my code and his conclusion is the same.
Also, I run the code in Jupyter notebook and not sure why I have to restart the kernel for changes to the create_model function to take effect?
Appreciate any help given on this. Here is my code without the data() function: ` def create_model_test(x_train, y_train, x_test, y_test): from keras import backend backend.clear_session()
if name == "main": best_run, best_model = optim.minimize(model=create_model_test, data=data, algo=tpe.suggest, max_evals=15, trials=Trials(), notebook_name='Emotion_CNN_MANY_FEATURES')
`