- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
while running real time object recognition using caffe graph i got following error ,
python3 ./detectionExample/Main.py --video 0
Traceback (most recent call last):
File "./detectionExample/Main.py", line 6, in
from ObjectWrapper import *
File "/home/pi/Downloads/YoloV2NCS-master/detectionExample/ObjectWrapper.py", line 17, in
class ObjectWrapper():
File "/home/pi/Downloads/YoloV2NCS-master/detectionExample/ObjectWrapper.py", line 18, in ObjectWrapper
mvnc.global_set_option(mvnc.GlobalOption.RW_LOG_LEVEL, 2)
AttributeError: module 'mvnc.mvncapi' has no attribute 'global_set_option'
pls help out
thanking you
- Tags:
- Include
- Tensorflow
Link Copied
- « Previous
-
- 1
- 2
- Next »
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@PINTO , thank you for your valuable help. Actually I gone through your tiny yolo model in pi , everything goes well except webcam result. Bcz webcam result was just live video, no detection, no bounding boxes. How can I solve this ?
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Hashir
There is not enough information to know the problem.
- First of all, I want to know the specifications of Bcz Webcam. Please let me know if there is a product URL.
- Which is the "your tiny yolo model" repository? Please tell me the URL specifically.
- If an error message is displayed, please let me know the error message.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@PINTO ,
I'm using ncsdk version 1( just API version only not full version). I just followed all the steps you mentioned in this GitHub repository "https://github.com/PINTO0309/TinyYolo", and ran that multistick.py script. Everything goes well except webcam result. Bcz there were no errors in terminal, graph loaded well, ncs loaded well even webcam also . But webcam just open and shows real time video only , it didn't show a single detection or a Bounding box or even a prediction etc . Pls help me out to solve this
Thanks in advance
Hashir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@PINTO
Here i'm attaching error i got when i ran your Multistick.py script from TinyYolo Github repository. [https://drive.google.com/open?id=0B14y6ZzK-_HzVHFYdE9hN1VDdEs2eXViMVN0SVZMemJhMXdZ]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Hashir
$ sudo apt install libdrm-*
$ sudo apt update
$ sudo apt upgrade
$ sudo -H pip3 install numpy --upgrade
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@PINTO
What is meant by
libGL error: MESA-LOADER: failed to retrieve device information,. Ist due to opencl or hardware problem like webcam .
Thanks in advance
Hashir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@PINTO
Once again thank you for your kind help. I will let you know if I get result without error using your commands. But in the mean time I would like to know two more things.
1) in your multistick.py script , I changed some of the webcam commands to picam commands. But some of the webcam functions didn't accept for using picam. But I got something , but it's seems to be not working well.so do you know what are changes should I follow in order to use picam instead of webcam.
2) in your tinyYoLO model(GitHub), can you suggest me how to count detected objects (especially vehicles)
Thanks in advance
Hashir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Hashir
What is meant by
libGL error: MESA-LOADER: failed to retrieve device information,. Ist due to opencl or hardware problem like webcam .
https://bugs.launchpad.net/raspbian/+bug/1656930
1)
Please see the following.
https://github.com/PINTO0309/MobileNet-SSD-RealSense/blob/master/MultiStickSSDwithPiCamera_OpenVINO_NCS2.py
2)
Please see the following.
https://www.pyimagesearch.com/2018/07/23/simple-object-tracking-with-opencv/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@PINTO
$ sudo apt install libdrm-*
$ sudo apt update
$ sudo apt upgrade
$ sudo -H pip3 install numpy --upgrade.
i did this 4 steps. but i got the same error. pls help me to solve this. here am attaching with the error.
https://drive.google.com/file/d/0B14y6ZzK-_HzQnJ3OF9oN21lUUZVRDVGVDZoRk9LLVZ1anln/view?usp=sharing
thanks in advance
hashir
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- « Previous
-
- 1
- 2
- Next »