Closed madhusshivakumar closed 10 months ago
@madhusshivakumar were you able to try the two debug options
call()
method of your layer may be crashing. Try to __call__()
the layer eagerly on some test input first to see if it works. E.g. x = np.random.random((3, 4)); y = layer(x)
call()
method is correct, then you may need to implement the def build(self, input_shape)
method on your layer. It should create all variables used by the layer (e.g. by calling layer.build()
on all its children layers).Please let me know if that worked for you.
This issue is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you.
This issue was closed because it has been inactive for 28 days. Please reopen if you'd like to work on this further.
while upgrading "examples/vision/cait.py" to keras 3 I run into the following error.
Colab link to recreate the issue:
https://colab.research.google.com/drive/144Ugzq9peIFqHTWE9OuhXZt9-DPFjjCT?usp=sharing