YOEO icon indicating copy to clipboard operation
YOEO copied to clipboard

bb_targets and mask_targets may be unbound

Open Ertz012 opened this issue 1 year ago • 2 comments

https://github.com/bit-bots/YOEO/blob/0aaecc2359c619db8f8666b0f3890044308578ba/yoeo/utils/datasets.py#L143C9-L143C55

Ertz012 avatar Feb 01 '24 17:02 Ertz012

On the way I thought about it, and I think making transforms optional is just not necessary. I believe in almost all cases one wants to apply some transforms, at least the default ones. If transforms is not necessary, we leave out the if check and the variables cannot be unbound anymore

jaagut avatar Feb 01 '24 19:02 jaagut

I am not sure what the exact problem is? Could you provide additional information? Is it related to batching/transforms when a batch consists only of negative data?

Flova avatar Feb 01 '24 21:02 Flova