Skip to content

Keras Tuner crashing #1011

@Iphykay

Description

@Iphykay

Describe the bug
I don't know why this happens but it does the first trial and then shows the error on the 2nd and 3rd trials. I don't know why it says the shape is changing. The input shape is not changing.
This happens when it does the tuner.search()
image_2024-06-15_124746007

To Reproduce
When you run the colab file, it runs well and sometimes it produces that error even when the input same is not changing. Unfortunately, I can't share my data, but i reproduced something close to it
https://colab.research.google.com/drive/1RkpAoA-bunT0muFLYAtkKdM6F3WPp1YS?usp=sharing

Expected behavior
No crash!

Additional context
Tensorflow version: version 2.16.1
Keras version: 3.1.1
Keras-Tuner version: 1.4.7

Would you like to help us fix it?
I don't know to be honest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions