Chirag Wattamwar
Chirag Wattamwar
## Description Fixes: #23097 Added an extra check in the `_get_model` function so now it uses previous model instead of cloning new one. Also added regression test for the same....
## Description Fixes: #23088 Document now uses zero-based class indices and color_mapping keys. Also fixed num_classes=None inference to use max(label) + 1 because 0-based docs need that to be true....
## Description Fixes: #23131 Tf and OpenVINO backends used `max * sqrt(1 + (min/max)^2)` but `inf / inf` gives `nan` Now both return positive inf when either input is inf...
## Description Fixes: #23080 Removed the force change of the dict and single tensor batches to tuple(...). Now tree utilities preserve the batch structure. Added a tf specific normalization so...
## Summary Adding a small suite of high-level image restoration losses to `keras.losses`: - `keras.losses.Charbonnier` - `keras.losses.MSSSIM` - `keras.losses.PSNR` - `keras.losses.TotalVariation` - `keras.losses.EdgeAwareSmoothness` - And an optional: a KerasCV-backed `PerceptualLoss`...
Docs for what I used and implemented. I will also add references for each if needed. Adds: #23126 ## Charbonnier - Public API: `keras.losses.charbonnier`, `keras.losses.Charbonnier`. - Purpose: differentiable L1-style reconstruction...
The docs for `keras.visualization.draw_segmentation_masks` say segmentation mask values should start at 1 and go up to num_classes with class 0 reserved for bg. They also say `color_mapping` keys should start...
## Description Fixes: #23118 axis now goes through canonicalize_axis(). Added a small test for axis=-1. ## Contributor Agreement **Please review our [AI-Assisted Contribution Policy](../CONTRIBUTING.md#ai-assisted-contribution-policy) and check all boxes below before...
## Description Fixes: #23130 Same changes done in #23134 namcumsum suffers the same bug as nancumprod ## Contributor Agreement **Please review our [AI-Assisted Contribution Policy](../CONTRIBUTING.md#ai-assisted-contribution-policy) and check all boxes below...
## Description Fixes: #23127 nan_to_num(x, nan=1.0) used a buggy path, it converted inf values to floats as default. Fixed it such that nancumprod replaces only NaNs with 1.0 preserving inf...