Comments (16)
Usually memory errors.I suggest that you should locate specific error codes and post more details.
from caffe-yolov3.
cause my network cannot predict ,so the nbox always is 0 ,therefore the code cannot allocate memory for the varaible "prob", so the core dumped.
i added the upsample layer into the caffe model as ID 149, but when i make it, cause i comment the clip layer(ID 148) as the caffe.proto requested:
-// LayerParameter next available layer-specific ID: 148 (last added: swish_param)
- // LayerParameter next available layer-specific ID: 149 (last added: upsample_param)
when i make caffe, an error occurred:
error: class "caffe::LayerParameter" has no member "clip_param"
so i uncomment the id 148 :clip_layer
then i make caffe success!
but may be it still have some problem that i havent found.
so my got an wrong network model that cannot predict?
from caffe-yolov3.
Please check this functions make_network_boxes in yolo_layer.cpp and make sure the nboxes > 0. If not, may be something wrong with your input blobs?
from caffe-yolov3.
i checked the nboxes, it equals to 0.
my command is "./detectnet"
and the image input is "
const char* imgFilename = "/mly/model/guiguai.jpg";
am i right?
from caffe-yolov3.
Can you send me this picture for testing?
from caffe-yolov3.
from caffe-yolov3.
from caffe-yolov3.
hi!
@ChenYingpeng
i have the same problem.
the program core dump in forward_yolo_layer_gpu->copy_gpu
err msg is:
CUDA Error: invalid device function
from caffe-yolov3.
Please check your device compute capability in CMakeList.txt.
For example
``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.
Please check your device compute capability in CMakeList.txt.
For example
``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
)
thank you! my device is gtx 1080, i comment the setting CUDA_NVCC_FLAGS code, and it works
from caffe-yolov3.
hi
@ChenYingpeng I have similar problem.
when i run the first example:
Example 1: yolov3
$ ./x86_64/bin/detectnet 0 ../../data/yolov3/prototxt/yolov3.prototxt ../../data/yolov3/caffemodel/yolov3.caffemodel
I face the error: Segmentation fault (core dumped)
There are no other description.
Can you help me with this problem? thank you a lot
from caffe-yolov3.
@DancingJane Check your picture path.
For example,const char* imgFilename = "/home/chen/projects/data/images/dog.jpg"; //modify your images file path
in detectnet.cpp file.
from caffe-yolov3.
@DancingJane Check your picture path.
For example,const char* imgFilename = "/home/chen/projects/data/images/dog.jpg"; //modify your images file path
in detectnet.cpp file.
thank you for your responce. I modify the imgFilename as
const char* imgFilename = "/home/jane/Files/object_detection/data/images/dog.jpg"; //modify your images file path
, put the dog image in corresponding path and make clean, cmake ,make againe. However, the error is still there.
from caffe-yolov3.
@DancingJane Check your picture path.
For example,const char* imgFilename = "/home/chen/projects/data/images/dog.jpg"; //modify your images file path
in detectnet.cpp file.thank you for your responce. I modify the imgFilename as
const char* imgFilename = "/home/jane/Files/object_detection/data/images/dog.jpg"; //modify your images file path
, put the dog image in corresponding path and make clean, cmake ,make againe. However, the error is still there.
I meet the same error, Are you solve the problem? can you tell me how to solve?
from caffe-yolov3.
@DancingJane Check your picture path.
For example,const char* imgFilename = "/home/chen/projects/data/images/dog.jpg"; //modify your images file path
in detectnet.cpp file.thank you for your responce. I modify the imgFilename as
const char* imgFilename = "/home/jane/Files/object_detection/data/images/dog.jpg"; //modify your images file path
, put the dog image in corresponding path and make clean, cmake ,make againe. However, the error is still there.I meet the same error, Are you solve the problem? can you tell me how to solve?
@DancingJane
from caffe-yolov3.
@IsLouie,hello Imeet the same error, Are you solve the problem? can you tell me how to solve?
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.