Closed hugopi closed 1 year ago
@hugopi you can please attach a minimal colab replicating the issue?
I have the same problem with tensorlfow 2.12.0 and keras_cv 0.6.1 with yolov8 model
I had the same problem following the YOLOv8 tutorial with my own data and TF 2.10.0, KerasCV 0.5.1 (latest on conda-forge), although mine happens in result = self.metrics.result(force=True)
We have an update coming soon to the OD tutorial which will get rid of this EvaluateCOCOMetricsCallback
. In the meantime, please use the keras_cv.callbacks.PyCOCOCallback
instead (this is also what will be used in the updated guide)
We have an update coming soon to the OD tutorial which will get rid of this
EvaluateCOCOMetricsCallback
. In the meantime, please use thekeras_cv.callbacks.PyCOCOCallback
instead (this is also what will be used in the updated guide)
Any expected date for when this tutorial will be ready? I am having problems using both BoxCocoMetrics and PyCOCOCallback. None of the examples are working, from the KERAS website to the ones in this repo. When bugs don't happen the mAP keeps really low.
Updated guide is available here: https://github.com/keras-team/keras-io/pull/1487 (not yet finalized)
Hey guys, do you have any udpates on this issue?
I tried to reproduce this tutorial Keras-yolov8 detection, and got exact the same problem using keras_cv.metrics.BoxCOCOMetrics() and as
I had the same problem following the YOLOv8 tutorial with my own data and TF 2.10.0, KerasCV 0.5.1 (latest on conda-forge), although mine happens in
result = self.metrics.result(force=True)
I notice the same behaviour, it breaks when .result(force=True).
tf version: 2.14.0 keras_cv version: 0.7.1
Hey guys, do you have any updates on this issue?
Hi kerasCV,
I am using keras cv since v0.4 and i have worked a lot with coco metrics.
I have updated my keras CV version from v0.5 to
pip install git+https://github.com/keras-team/keras-cv.git
and know I have an error with coco metrics.I used it like in your tutorial :
And in call backs :
coco_metrics = EvaluateCOCOMetricsCallback(self.val_ds.take(10), logs_dir)
It was working perfectly before updating and now i have this error :
I have also update my tensorflow from 2.11 to 2.13
Do you have change something on coco metrics ? Or going to tf 2.13 and his new tf.function features could broke coco metrics?
Thanks a lot for your fantastic work !
Hugo PIRES