Comments (7)
from jetson-inference.
@dusty-nv Hi Dustin, Thanks for your quick response.
Yes I have used #define DEFAULT_CAMERA set to 0 near the top.
One of my webcams supports RBG colorspace.
For which I got the errors mentioned earlier.
many thanks,
Shervin
from jetson-inference.
@dusty-nv running v4l2-ctl -V gives:
"Format Video Capture:
Width/Height : 640/480
Pixel Format : 'YUYV'
Field : None
Bytes per Line: 1280
Size Image : 614400
Colorspace : SRGB
Custom Info : feedcafe
"
I got the error:
"gstbasesrc.c:2865 gst_base_src_loop
error: Internal data flow error.
[gstreamer] GST_LEVEL_WARNING GstV4l2Src basesrc
gstbasesrc.c:2865 gst_base_src_loop
error: streaming task paused, reason not-negotiated (-4)
[gstreamer] gstreamer decoder onEOS
[gstreamer] gstreamer v4l2src0 ERROR Internal data flow error.
[gstreamer] gstreamer Debugging info: gstbasesrc.c(2865): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming task paused, reason not-negotiated (-4)
[gstreamer] gstreamer changed state from READY to PAUSED ==> mysink
imagenet-camera: camera open for streaming
imagenet-camera: failed to capture frame
imagenet-camera: failed to convert from NV12 to RGBA
imageNet::Classify( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda] cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda] invalid device pointer (error 17) (hex 0x11)
[cuda] /home/shervin/runn/jetson-inference/imagenet-camera/imagenet-camera.cpp:181
[cuda] registered 14745600 byte openGL texture for interop access (1280x720)
"
many thanks for your help on this.
from jetson-inference.
Hi,
I get similar errors for the c920 webcam.
deep-learner@Deep-learner:~/jetson-inference/build/x86_64/bin$ v4l2-ctl -V
Format Video Capture:
Width/Height : 1280/720
Pixel Format : 'MJPG'
Field : None
Bytes per Line: 0
Size Image : 1843200
Colorspace : SRGB
Custom Info : feedcafe
Upon running the imagenet-camera application the C920 lights up, the window reads 'NVIDIA Jetson TX1 | L4T R24.1 aarch64 | Ubuntu 14.04 although this was compiled for x86_64 .
These are my errors in repeated cycles:
[cuda] cudaGetLastError()
[cuda] invalid device function (error 8) (hex 0x08)
[cuda] /home/deep-learner/jetson-inference/util/cuda/cudaRGB.cu:44
[cuda] cudaRGBToRGBAf((uchar3*)input, (float4*)mRGBA[mLatestRGBA], mWidth, mHeight)
[cuda] invalid device function (error 8) (hex 0x08)
[cuda] /home/deep-learner/jetson-inference/util/camera/gstCamera.cpp:90
imagenet-camera: failed to convert from NV12 to RGBA
imageNet::Classify( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda] cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda] invalid device pointer (error 17) (hex 0x11)
[cuda] /home/deep-learner/jetson-inference/imagenet-camera/imagenet-camera.cpp:181
[cuda] registered 14745600 byte openGL texture for interop access (1280x720)
Was this issue ever resolved?
Thank you,
Abdo
from jetson-inference.
@abdo-abaco check https://github.com/Abaco-Systems/jetson-inference-gv and see whether it works for you if you have not tried it yet
from jetson-inference.
With that I get:
[cuda] cudaGetLastError()
[cuda] invalid device function (error 8) (hex 0x08)
[cuda] /home/deep-learner/jetson-inference-gv/cuda/cudaRGB-NV12.cu:42
[cuda] cudaRGBToRGBAf((uint8_t*)input, (float4*)mRGBA, mWidth, mHeight)
[cuda] invalid device function (error 8) (hex 0x08)
[cuda] /home/deep-learner/jetson-inference-gv/camera/camera.cpp:118
[cuda] camera -- conversion cudaRGBToRGBAf failed (1280x720)
imagenet-camera: failed to convert from RGB to RGBAf
imageNet::Classify( 0x(nil), 1280, 720 ) -> invalid parameters
imagenet-camera: classify failure, aborting
Thank you, will let you know if this gets resolved.
from jetson-inference.
Found out the problem with running this demo on host. Run your deviceQuery example and find out your compute architecture. In my case 5.0 and 6.3. As mentioned make to #define DEFAULT_CAMERA to 0
Go to CMakeLists.txt and add the lines underneath: -gencode arch=compute_50,code=sm_50
-gencode arch=compute_50,code=sm_50
-gencode arch=compute_61,code=sm_61
from jetson-inference.
Related Issues (20)
- Web-RTC dash not have argument on app.py
- [TRT] 2: [utils.cpp::checkMemLimit::380] Error Code 2: Internal Error (Assertion upperBound != 0 failed. Unknown embedded device
- SyntaxError: future feature annotations is not defined HOT 2
- where is file named train_ssd.py ? HOT 2
- cudaEventElapsedTime device not ready (error 600) (hex 0x258) HOT 1
- [ WARN:0] global /opt/opencv/modules/videoio/src/cap_gstreamer.cpp (935)
- How to open csi camera in a docker container HOT 3
- How to use custom .onnx or .tflite model with inference ? HOT 1
- Problem with testing video viewer function HOT 7
- choose network precision as float32 HOT 1
- Questions about how to receive and use ROS1 image msg
- RuntimeError: CUDA error: too many resources requested for launch
- how to get networks/FlowNet-320x240/flownets.onnx HOT 2
- Action Recognition gets crashed after running for couple of seconds
- Fail to load vgg-16 for inferencing on Jetson Nano 4GB HOT 1
- detectnet with GMSL Camera
- Is there a way to manually EOS in python object? HOT 2
- How to save videos through videosource, instead of using output.render HOT 1
- MobileNetV3 constant dips in accuracy.
- unable to download ResNet18-Tagging-VOC/resnet18.onnx
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 jetson-inference.