You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
Try downgrade the Tensorflow and Keras version I think??
I also get the same result when try using the current version Tensorflow (v=2.9.2) and Keras (2.9.0) from google Colab.
But when I downgraded the tensorflow version into 2.1. and keras to 2.3.2. It works fine with me when I run the template code in Google Colab.
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)
The text was updated successfully, but these errors were encountered: