Comments (9)
which version of caffe is you used?Can you share the right version of caffe's link
from caffe-yolov3.
This may be your cuda problem,please check it.
from caffe-yolov3.
this error occurred at first line do 'copy_gpu(l.batchl.inputs,(float)input,1,l.output_gpu,1);' in function "forward_yolo_layer_gpu" in file yolo_layer.cpp .I add some print in this function than found it.
86 void forward_yolo_layer_gpu(const float* input,layer l)
87 {
88 printf("before 11111\n");
89 copy_gpu(l.batchl.inputs,(float)input,1,l.output_gpu,1);
90 printf("after 11111\n");
91 int b,n;
92 for(b = 0;b < l.batch;++b){
93 for(n =0;n< l.n;++n){
94 int index = entry_index(l,b,nl.wl.h,0);
95 activate_array_gpu(l.output_gpu + index, 2l.wl.h,LOGISTIC);
96 index = entry_index(l,b,nl.wl.h,4);
97 activate_array_gpu(l.output_gpu + index,(1 + l.classes)l.wl.h,LOGISTIC);
98 }
99 }
100 cuda_pull_array(l.output_gpu,l.output,l.batch*l.outputs);
101 }
after run detectnet ,found the error as follows:
I0824 18:42:00.235325 16998 detectnet.cpp:76] Input data layer channels is 3
I0824 18:42:00.235347 16998 detectnet.cpp:77] Input data layer width is 416
I0824 18:42:00.235353 16998 detectnet.cpp:78] Input data layer height is 416
output blob1 shape c= 255, h = 13, w = 13
output blob2 shape c= 255, h = 26, w = 26
output blob3 shape c= 255, h = 52, w = 52
before 11111
CUDA Error: no kernel image is available for execution on the device
detectnet: /home/LiuQiang/ext_work/caffe-yolov3/cuda.cpp:30: void check_error(cudaError_t): Assertion `0' failed.
已放弃 (核心已转储)
from caffe-yolov3.
this code clone from your github caffe-yolov3 project,no changed or fixed
from caffe-yolov3.
May be something wrong with your pc cuda compute_sm? Please check your pc cuda compute_sm,for example this below in my CMakeList.txt.
` # setup CUDA
find_package(CUDA)
set(
CUDA_NVCC_FLAGS
${CUDA_NVCC_FLAGS};
-O3
-gencode arch=compute_53,code=sm_53 #tegra tx1
-gencode arch=compute_61,code=sm_61 #gtx 1060
-gencode arch=compute_62,code=sm_62 #tegra tx2
)`
from caffe-yolov3.
Yes,i check it ,then run ok.Thanks.But The speed is slowly than org
from caffe-yolov3.
Yes ,caffe is slower than darkent.I suggest that you can speed it with tensorrt.
from caffe-yolov3.
Hi @anhuipl2010 , How much speed did you get for this? I mean FPS.
from caffe-yolov3.
Hi @anhuipl2010, How much FPS did you get for this?
from caffe-yolov3.
Related Issues (20)
- 请问如何进行批量测试
- Check failed: error == cudaSuccess (35 vs. 0) CUDA driver version is insufficient for CUDA runtime version HOT 1
- Neural Network Accelerator support HOT 1
- 在运行demo时出现"段错误 (核心已转储)" HOT 7
- yolov4转换后识别有问题。 HOT 2
- image im = mat_to_image(mat);
- 运行后出现void check_error(cudaError_t): Assertion `0' failed. CUDA Error: no kernel image is available for execution on the device HOT 1
- A question about how to run other caffemodel?
- make caffe-yolov3时报错(libyolov3-plugin.so)
- 大佬,我的电脑上没有cuda如何将cmake里面的cuda去掉啊 HOT 5
- Please publish models for download form other service
- Segment fault HOT 3
- Have difficulty in fixing KeyError: 'layer1-conv' HOT 3
- How to convert Yolov4-tiny darknet to caffe?
- Segmentation fault (core dumped) HOT 1
- 转换后的yolov4模型,检测框偏大,不准确
- 似乎没有提供训练的代码?是用AB版训然后转caffe模型?
- model link失效
- make[1]: *** [CMakeFiles/yolov3-plugin.dir/all] Error 2
- Can we use OpenCL for AMD GPU? Caffe has OpenCL support.
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 caffe-yolov3.