Tencent / Tencent/ncnn

Segmentation fault: converting mobilenetssd caffemodel

Open
#1,990 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
23.8k
Forks
4.5k
Avg merge
2d 20h
Merged PRs (30d)
37

Description

As given in this example file, I tried to convert mobilenetssd model from this repository.

But when I run caffe2ncnn binary, it gives me this error

$ ./caffe2ncnn mobilnetssd_caffe.prototxt mobilenetssd_caffe.caffemodel mobilenetssd_caffe.param mobilenetssd_caffe.bin
Segmentation fault (core dumped)

can anyone please help ?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with examples/mobilenetssd.cpp and the caffe2ncnn entry point, then reproduce the command using the linked MobileNet-SSD prototxt and caffemodel. Trace the converter failure and verify that caffe2ncnn completes without a segmentation fault and produces the requested param and bin files.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
machine-learning, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.