SimCLRv1-keras-tensorflow
SimCLRv1-keras-tensorflow copied to clipboard
Error in executing training and predictions
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)