Closed innat closed 1 year ago
Hi @innat, I'm interested in implementing this
@qlzh727 @LukeWood WDYT?
It is not in the Keras loss API format but we could be inspired also by other TF ecosystem official implementations:
https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/nn/loss/hausdorff_distance.py
Hi @innat
Currently there's no Losses
Folder in keras-cv
to house loss functions
Do I have to create that ?
113 @LukeWood stated to implement IoU Loss to set an example for loss functions
Yes, I think so. You need to create a loss folder.
Hi, sorry I haven't made a PR on this issue, I've worked on it but currently waiting for Dice loss PR to get merged to avoid conflicts from me creating losses
folder
I'm also writing test cases (noob ✌)
Don't worry about that. You can safely do your own. No conflict will happen on this.
The KerasCV team is attempting to narrow the package scope in order to more efficiently use our limited resources. As such, we are only accepting contributions directly related to items on the 6 month roadmap for the package.
Feel free to read more on the roadmap: https://github.com/keras-team/keras-cv/blob/master/.github/ROADMAP.md
The KerasCV team is attempting to narrow the package scope in order to more efficiently use our limited resources. As such, we are only accepting contributions directly related to items on the 6 month roadmap for the package.
Feel free to read more on the roadmap: https://github.com/keras-team/keras-cv/blob/master/.github/ROADMAP.md
I think that we need to check related PR when we close tickets https://github.com/keras-team/keras-cv/pull/414
From wiki
It can be used for point cloud similarity metrics, keypoint detection, segmentation task, etc. For example, in an ongoing kaggle comp UW-Madison GI Tract Image Segmentation, a 3D version of Hausdorff distance is used as one of the metrics to evaluate.
I think it's a useful loss function to have. Here are some references implementation: