ERROR while running custom object detection in realtime mode

Ask Questions Forum: ask Machine Learning Questions to our readersCategory: Deep LearningERROR while running custom object detection in realtime mode
Siddarth dayasagar asked 1 month ago

hey,
I have trained the yolov3 model for my custom object detection and it runs very well for images but when i use my webcam it is showing 
 for i in indexes.flatten():
AttributeError: ‘tuple’ object has no attribute ‘flatten’
[ WARN:1] global C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-71670poj\opencv\modules\videoio\src\cap_msmf.cpp (435) `anonymous-namespace’::SourceReaderCB::~SourceReaderCB terminating async callback 

Chris Staff replied 1 month ago

Can you please share a bit more of your code and the precise YOLOv3 implementation that you are using?

In addition, what do you precisely want to achieve with .flatten() in the first place?