Open Anton-Cherepkov opened 1 month ago
Here is a temporary fix for those who may need it: https://github.com/Anton-Cherepkov/fiftyone/commit/aba901bdefb77ed570a3217237d7fd2c42fc35d7
I noticed that according to the typings this method must return ImagesPredictions
object, however it returns the results from another method, which might return not only ImagesPredictions
object but also ImagePrediction
object.
@Anton-Cherepkov thanks for catching!
This should be patched by https://github.com/voxel51/fiftyone/pull/4429 and I'm pushing for it to be included in fiftyone==0.24.0
which is scheduled for release this week.
Describe the problem
When using a sample code from the FiftyOne's docs for visualizing the predictions of a super-gradients
yolo_nas_m
model, the detections do not appear on the FiftyOne's Web UI.Code to reproduce issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem. Please avoid sharing code that relies on your local data or datasets. Include a short video or screenshot if the bug is in the App.
System information
python --version
): Python 3.10.14fiftyone --version
): FiftyOne v0.23.8, Voxel51, Inc.Other info/logs
The only warning in the console was:
My investigation showed that:
labels_batch
object here holds correct detectionslabels
object here has typestr
and does not contain any detectionsMy conclusion:
labels_batch
has typeDetections
, however it seems it should have typeList[Detections]
Willingness to contribute
The FiftyOne Community encourages bug fix contributions. Would you or another member of your organization be willing to contribute a fix for this bug to the FiftyOne codebase?