SimCLRv1-keras-tensorflow icon indicating copy to clipboard operation
SimCLRv1-keras-tensorflow copied to clipboard

Error in executing training and predictions

Open dataplusplus-ai opened this issue 1 year ago • 1 comments

While executing this notebook https://github.com/mwdhont/SimCLRv1-keras-tensorflow/blob/master/2_model_SimCLR.ipynb in google colab, this code y_predict_test_before = SimCLR.predict(data_test) gives the following error.

ValueError: Failed to find data adapter that can handle input: <class 'DataGeneratorSimCLR.DataGeneratorSimCLR'>, <class 'NoneType'> Converting data_test, data_train, data_val to numpy arrays does not help.

Similar error while executing this line also. SimCLR.train(data_train, data_val, epochs = 5)

dataplusplus-ai avatar Oct 04 '22 03:10 dataplusplus-ai