Skip to content

Failing to predict #19

@moutasemalakkad

Description

@moutasemalakkad

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions