Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing to predict #19

Open
moutasemalakkad opened this issue Oct 19, 2022 · 1 comment
Open

Failing to predict #19

moutasemalakkad opened this issue Oct 19, 2022 · 1 comment

Comments

@moutasemalakkad
Copy link

Getting this error:

ValueError                                Traceback (most recent call last)
[<ipython-input-23-d72c61a34340>](https://localhost:8080/#) in <module>
----> 1 y_predict_test_before = SimCLR.predict(data_test)

2 frames
[/usr/local/lib/python3.7/dist-packages/keras/engine/data_adapter.py](https://localhost:8080/#) in select_data_adapter(x, y)
    986         "Failed to find data adapter that can handle "
    987         "input: {}, {}".format(
--> 988             _type_name(x), _type_name(y)))
    989   elif len(adapter_cls) > 1:
    990     raise RuntimeError(

ValueError: Failed to find data adapter that can handle input: <class 'DataGeneratorSimCLR.DataGeneratorSimCLR'>, <class 'NoneType'>

when running:

y_predict_test_before = SimCLR.predict(data_test)

@aldoazali
Copy link

I think Try downgrade the tensorflow version to 2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants