shaqian/TF-Unity

Detector is always null

Opened this issue · 1 comments

Hi!
I have the following code:
detector = new Detector(model, label, DetectionModels.YOLO);

My model and label file are the right one. I debugged it and it writes the labels and bytes correctly, but my detector is always null. Can anyone help me with this?

Thanks a lot in advance!

Hi,

Is detector declared as a global variable?

Thanks,
Qian