Giter VIP home page Giter VIP logo

retinaface_caffe's People

Contributors

wzj5133329 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

retinaface_caffe's Issues

question about resize

why resize all input to size "input_geometry_"?
Does the Input img must be a fixed size?

Check failed: status == CUDNN_STATUS_SUCCESS (4 vs. 0) CUDNN_STATUS_INTERNAL_ERROR

I1217 08:19:26.450222 6021 layer_factory.hpp:77] Creating layer mobilenet0_relu8
I1217 08:19:26.450242 6021 net.cpp:86] Creating Layer mobilenet0_relu8
I1217 08:19:26.450255 6021 net.cpp:408] mobilenet0_relu8 <- mobilenet0_batchnorm8
I1217 08:19:26.450273 6021 net.cpp:369] mobilenet0_relu8 -> mobilenet0_batchnorm8 (in-place)
I1217 08:19:26.459385 6021 net.cpp:124] Setting up mobilenet0_relu8
I1217 08:19:26.459436 6021 net.cpp:131] Top shape: 1 64 8 10 (5120)
I1217 08:19:26.459461 6021 net.cpp:139] Memory required for data: 1332480
I1217 08:19:26.459479 6021 layer_factory.hpp:77] Creating layer mobilenet0_conv9
I1217 08:19:26.459518 6021 net.cpp:86] Creating Layer mobilenet0_conv9
I1217 08:19:26.459537 6021 net.cpp:408] mobilenet0_conv9 <- mobilenet0_batchnorm8
I1217 08:19:26.459563 6021 net.cpp:382] mobilenet0_conv9 -> mobilenet0_conv9
F1217 08:19:28.327307 6021 cudnn_conv_layer.cpp:53] Check failed: status == CUDNN_STATUS_SUCCESS (4 vs. 0) CUDNN_STATUS_INTERNAL_ERROR
*** Check failure stack trace: ***
Aborted (core dumped)

does anyone know the reason?

4G显存还不够???

I0809 11:51:02.075692 7224 upgrade_proto.cpp:80] Successfully upgraded batch norm layers using deprecated params.
channels3
img10480
F0809 11:51:02.320047 7224 syncedmem.cpp:56] Check failed: error == cudaSuccess (2 vs. 0) out of memory
看了一下显存是满了,改哪里可以使降显存吗?

make error

您好。我按照你的要求修改了Makefile文件,把我的caffe路径添加进去了,在make时出现了错误:
g++ -o retinaface detect.o anchor_generator.o config.o tools.o main.o -lboost_system -lcaffe -lglog -lprotobuf -lcudart -lgflags pkg-config opencv
/usr/bin/ld: cannot find -lcaffe
/usr/bin/ld: cannot find -lcudart
collect2: error: ld returned 1 exit status
Makefile:21: recipe for target 'retinaface' failed
make: *** [retinaface] Error 1`
请问您是怎么解决的,谢谢你了。

官方的shape与您的caffe模型不同?

您好,我分别用您的模型和官方的mnet.25 跑了一下,看到您的模型shape是1920x1080,而官方给出的shape是640x640,
我正在梳理是哪里出了问题,
您能告诉我您是从哪个模型转成的caffe模型吗?

CUDNN_STATUS_NOT_INITIALIZED error

I0809 19:18:18.471977 15264 net.cpp:84] Creating Layer mobilenet0_conv25
I0809 19:18:18.477895 15264 net.cpp:406] mobilenet0_conv25 <- mobilenet0_batchnorm24
I0809 19:18:18.478863 15264 net.cpp:380] mobilenet0_conv25 -> mobilenet0_conv25
I0809 19:18:19.578912 15264 net.cpp:122] Setting up mobilenet0_conv25
I0809 19:18:19.578912 15264 net.cpp:129] Top shape: 1 256 20 20 (102400)
I0809 19:18:19.580909 15264 net.cpp:137] Memory required for data: 183910400
I0809 19:18:19.581923 15264 layer_factory.cpp:58] Creating layer mobilenet0_batchnorm25
I0809 19:18:19.587956 15264 net.cpp:84] Creating Layer mobilenet0_batchnorm25
I0809 19:18:19.588887 15264 net.cpp:406] mobilenet0_batchnorm25 <- mobilenet0_conv25
I0809 19:18:19.589884 15264 net.cpp:380] mobilenet0_batchnorm25 -> mobilenet0_batchnorm25
I0809 19:18:19.591877 15264 net.cpp:122] Setting up mobilenet0_batchnorm25
I0809 19:18:19.596879 15264 net.cpp:129] Top shape: 1 256 20 20 (102400)
I0809 19:18:19.597873 15264 net.cpp:137] Memory required for data: 184320000
I0809 19:18:19.597873 15264 layer_factory.cpp:58] Creating layer mobilenet0_batchnorm25_scale
I0809 19:18:19.599881 15264 net.cpp:84] Creating Layer mobilenet0_batchnorm25_scale
I0809 19:18:19.601862 15264 net.cpp:406] mobilenet0_batchnorm25_scale <- mobilenet0_batchnorm25
I0809 19:18:19.602859 15264 net.cpp:367] mobilenet0_batchnorm25_scale -> mobilenet0_batchnorm25 (in-place)
I0809 19:18:19.608254 15264 layer_factory.cpp:58] Creating layer mobilenet0_batchnorm25_scale
I0809 19:18:19.608254 15264 net.cpp:122] Setting up mobilenet0_batchnorm25_scale
I0809 19:18:19.609251 15264 net.cpp:129] Top shape: 1 256 20 20 (102400)
I0809 19:18:19.610247 15264 net.cpp:137] Memory required for data: 184729600
I0809 19:18:19.610247 15264 layer_factory.cpp:58] Creating layer mobilenet0_relu25
I0809 19:18:19.611243 15264 net.cpp:84] Creating Layer mobilenet0_relu25
I0809 19:18:19.614934 15264 net.cpp:406] mobilenet0_relu25 <- mobilenet0_batchnorm25
I0809 19:18:19.620775 15264 net.cpp:367] mobilenet0_relu25 -> mobilenet0_batchnorm25 (in-place)
I0809 19:18:19.625766 15264 net.cpp:122] Setting up mobilenet0_relu25
I0809 19:18:19.625766 15264 net.cpp:129] Top shape: 1 256 20 20 (102400)
I0809 19:18:19.626761 15264 net.cpp:137] Memory required for data: 185139200
I0809 19:18:19.634972 15264 layer_factory.cpp:58] Creating layer mobilenet0_conv26
I0809 19:18:19.636997 15264 net.cpp:84] Creating Layer mobilenet0_conv26
I0809 19:18:19.641957 15264 net.cpp:406] mobilenet0_conv26 <- mobilenet0_batchnorm25
I0809 19:18:19.642958 15264 net.cpp:380] mobilenet0_conv26 -> mobilenet0_conv26
F0809 19:18:19.647945 15264 cudnn_conv_layer.cpp:53] Check failed: status == CUDNN_STATUS_SUCCESS (1 vs. 0) CUDNN_STATUS_NOT_INITIALIZED

net_.reset(new Net(model_file, TEST)); running to mobilenet0_conv26
error occurs
Why???

error C2065: “anchor”: 未声明的标识符

在caffe-cpu下运行程序,在
void AnchorGenerator::landmark_pred(const CRect2f anchor, const std::vectorcv::Point2f& delta, std::vectorcv::Point2f& pts) {
float w = anchor[2] - anchor[0] + 1;
float h = anchor[3] - anchor[1] + 1;
float x_ctr = anchor[0] + 0.5 * (w - 1);
float y_ctr = anchor[1] + 0.5 * (h - 1);
pts.resize(delta.size());
for (int i = 0; i < delta.size(); ++i) {
pts[i].x = (delta[i].x*w + x_ctr)ratiow;
pts[i].y = (delta[i].yh + y_ctr)*ratioh;
}
}中出现以下问题, 请问是什么原因? @wzj5133329
image

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.