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
Please add the ignore_class=0 to the MeanIoU and OneHotMeanIoUinititialization step.
Observations
Without ignore_class: train the model
With ignore_class: Throws an error -> Array boolean indices must be concrete; got ShapedArray(bool[2097152])
Warnings noticed in logs
W external/xla/xla/service/gpu/nvptx_compiler.cc:718] The NVIDIA driver's CUDA version is 12.3 which is older than the ptxas CUDA version (12.4.131). Because the driver is older than the ptxas version, XLA is disabling parallel compilation, which may slow down compilation. You should update your NVIDIA driver or use the NVIDIA-provided CUDA forward compatibility packages.
Version details:
OS: Red Hat Enterprise Linux 9.3 (Plow)
GPU: NVIDIA H100 PCIe
CUDA Version: 12.3
NVIDIA-SMI 545.23.08
Driver Version: 545.23.08
jax: 0.4.26
The text was updated successfully, but these errors were encountered:
I installed keras from the merge commit after the fix (pip install git+https://github.com/keras-team/keras.git@fed28a7357e13aeb955f891747a1f9b26d5bc581) and run the above code. No errors were thrown. However, there is a recurring warning:
'+ptx84' is not a recognized feature for this target (ignoring feature)
Problem
When using
jax
backend withMeanIoU
or its child class, training throws an error.Code to reproduce
https://gist.github.com/savindi-wijenayaka/43da7ac5930afc3ffbf20686ecca1193
Please add the
ignore_class=0
to theMeanIoU
andOneHotMeanIoU
inititialization step.Observations
ignore_class
: train the modelignore_class
: Throws an error ->Array boolean indices must be concrete; got ShapedArray(bool[2097152])
Warnings noticed in logs
Version details:
The text was updated successfully, but these errors were encountered: