Giter Club home page Giter Club logo

Comments (16)

ChenYingpeng avatar ChenYingpeng commented on July 3, 2024

Usually memory errors.I suggest that you should locate specific error codes and post more details.

from caffe-yolov3.

IsLouie avatar IsLouie commented on July 3, 2024

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.

ChenYingpeng avatar ChenYingpeng commented on July 3, 2024

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.

IsLouie avatar IsLouie commented on July 3, 2024

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.

ChenYingpeng avatar ChenYingpeng commented on July 3, 2024

Can you send me this picture for testing?

from caffe-yolov3.

IsLouie avatar IsLouie commented on July 3, 2024

guiguai

from caffe-yolov3.

ChenYingpeng avatar ChenYingpeng commented on July 3, 2024

test

from caffe-yolov3.

sukibean163 avatar sukibean163 commented on July 3, 2024

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.

ChenYingpeng avatar ChenYingpeng commented on July 3, 2024

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.

sukibean163 avatar sukibean163 commented on July 3, 2024

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.

DancingJane avatar DancingJane commented on July 3, 2024

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.

ChenYingpeng avatar ChenYingpeng commented on July 3, 2024

@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 avatar DancingJane commented on July 3, 2024

@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.

chengyao0929 avatar chengyao0929 commented on July 3, 2024

@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.

chengyao0929 avatar chengyao0929 commented on July 3, 2024

@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.

Hongyuan-Liu avatar Hongyuan-Liu commented on July 3, 2024

@IsLouie,hello Imeet the same error, Are you solve the problem? can you tell me how to solve?

from caffe-yolov3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.