Comments (5)
I ran the work in yolo_prune folder, and I got the result by ./yolo ./image/ i. But I ran into an error when I inference the model by the following command :
./yolo {VideoFileName.avi} v
The error message is :
Failed to query video capabilities: Inappropriate ioctl for device libv4l2: error getting capabilities: Inappropriate ioctl for device VIDEOIO ERROR: V4L: device ./video/road_trafifc.mp4: Unable to query number of channels OpenCV Error: Unspecified error (GStreamer: your gstreamer installation is missing a required plugin ) in handlemessage, file /usr/src/debug/opencv/3.3+gitAUTOINC+87c27a074d_2a9d1b22ed_a62e20676a_34e4206aef_fccf7cd6a4-r0/git/modules/videoio/src/cap_gstreamer.cpp, line 1860 VIDEOIO(cvCreateCapture_GStreamer (CV_CAP_GSTREAMER_FILE, filename)): raised OpenCV exception: /usr/src/debug/opencv/3.3+gitAUTOINC+87c27a074d_2a9d1b22ed_a62e20676a_34e4206aef_fccf7cd6a4-r0/git/modules/videoio/src/cap_gstreamer.cpp:1860: error: (-2) GStreamer: your gstreamer installation is missing a required plugin in function handlemessage open video error!
It seems like missing some Gstreamer plugins, and I wonder how to solve it or tell me another way to run the video input successfully. Thank you!
It seems like your video file or camera has some problem. Try another video or device first
from dnndk-pynqz2.
Is the video supposed to be .avi or .mp4 file?
Or there are some restrictions for the input video?
from dnndk-pynqz2.
Is the video supposed to be .avi or .mp4 file? Or there are some restrictions for the input video?
Sorry, I don't remember the content in yolo_prune. I recommend you turn into the yolo_keras in this project.
And for your problem, try another video or just one image to see if the code works well.
from dnndk-pynqz2.
I tried one image as input, and yolo_prune works well.
I also tried the work in yolo_keras.
I ran the Makefile in yolo_keras/yolo_pynq2 and generated the yolo executable file.
However, when I ran the command:
./yolo dog.jpg
the pynqz2 unexpectedly disconnected the network and then shut down.
Is there any problem in my steps?
from dnndk-pynqz2.
I tried one image as input, and yolo_prune works well.
I also tried the work in yolo_keras. I ran the Makefile in yolo_keras/yolo_pynq2 and generated the yolo executable file. However, when I ran the command:
./yolo dog.jpg
the pynqz2 unexpectedly disconnected the network and then shut down. Is there any problem in my steps?
Unexpectedly shutting down usually means the power input is not enough. If you follow the steps in the guideline, it should work. It is hard for me to reproduce your problem.
from dnndk-pynqz2.
Related Issues (16)
- how to use dnnc? HOT 27
- dnndk下载地址似乎已经失效 HOT 4
- 安装包 HOT 3
- [DNNDK] fail to open DPU device and exit ... HOT 11
- 模型量化 HOT 3
- 關於將img燒進pynqz2後該如何使用 HOT 3
- 制作镜像的文件从哪里下载呢? HOT 6
- DNNDK run error HOT 1
- quant.sh HOT 3
- freeze_graph HOT 2
- The login problem HOT 3
- 镜像文件无法启动 HOT 1
- Deploying a custom object detector HOT 9
- Image Label on FPGA HOT 5
- 有几个问题想请教一下 HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dnndk-pynqz2.