GithubHelp home page GithubHelp logo

Comments (24)

aidlearning avatar aidlearning commented on July 21, 2024

you don't need this :
net.register_custom_layer("LinearRegressionOutput", Noop_layer_creator);
net.register_custom_layer("Custom", Noop_layer_creator);
because forward don't need this layer!

from aidlearning-framework.

zys1994 avatar zys1994 commented on July 21, 2024

if i comment it, it will get wrong.

 layer LinearRegressionOutput not exists or registered

it doesn't matter. i turns mxnet model to ncnn. i wonder why i get wrong result. the index landmark is wrong? or the means and scales is wrong?

from aidlearning-framework.

aidlearning avatar aidlearning commented on July 21, 2024

you must delete the layers after conv6_3 because of the layers LinearRegressionOutput is for training and don't need in forward.

from aidlearning-framework.

aidlearning avatar aidlearning commented on July 21, 2024

I mean you open the L106.param ,and delete the layers after conv6_3 in the file.

from aidlearning-framework.

aidlearning avatar aidlearning commented on July 21, 2024

if you like the project ,pls give me a star,thank u!

from aidlearning-framework.

aidlearning avatar aidlearning commented on July 21, 2024

7767517
66 67
Input data 0 1 data
Convolution conv1 1 1 data conv1 0=32 1=3 11=3 5=1 6=864
BatchNorm bn1 1 1 conv1 bn1 0=32
PReLU prelu1 1 1 bn1 prelu1 0=32
ConvolutionDepthWise conv2_dw 1 1 prelu1 conv2_dw 0=32 1=2 11=2 5=1 6=128 7=32
BatchNorm bn2_dw 1 1 conv2_dw bn2_dw 0=32
PReLU prelu2_dw 1 1 bn2_dw prelu2_dw 0=32
Convolution conv2_sep 1 1 prelu2_dw conv2_sep 0=32 1=1 11=1 5=1 6=1024
BatchNorm bn2_sep 1 1 conv2_sep bn2_sep 0=32
PReLU prelu2_sep 1 1 bn2_sep prelu2_sep 0=32
ConvolutionDepthWise conv3_dw 1 1 prelu2_sep conv3_dw 0=32 1=3 11=3 3=2 13=2 5=1 6=288 7=32
BatchNorm bn3_dw 1 1 conv3_dw bn3_dw 0=32
PReLU prelu3_dw 1 1 bn3_dw prelu3_dw 0=32
Convolution conv3_sep 1 1 prelu3_dw conv3_sep 0=64 1=1 11=1 5=1 6=2048
BatchNorm bn3_sep 1 1 conv3_sep bn3_sep 0=64
PReLU prelu3_sep 1 1 bn3_sep prelu3_sep 0=64
ConvolutionDepthWise conv4_dw 1 1 prelu3_sep conv4_dw 0=64 1=2 11=2 5=1 6=256 7=64
BatchNorm bn4_dw 1 1 conv4_dw bn4_dw 0=64
PReLU prelu4_dw 1 1 bn4_dw prelu4_dw 0=64
Convolution conv4_sep 1 1 prelu4_dw conv4_sep 0=64 1=1 11=1 5=1 6=4096
BatchNorm bn4_sep 1 1 conv4_sep bn4_sep 0=64
PReLU prelu4_sep 1 1 bn4_sep prelu4_sep 0=64
ConvolutionDepthWise conv5_dw 1 1 prelu4_sep conv5_dw 0=64 1=3 11=3 3=2 13=2 5=1 6=576 7=64
BatchNorm bn5_dw 1 1 conv5_dw bn5_dw 0=64
PReLU prelu5_dw 1 1 bn5_dw prelu5_dw 0=64
Convolution conv5_sep 1 1 prelu5_dw conv5_sep 0=64 1=1 11=1 5=1 6=4096
BatchNorm bn5_sep 1 1 conv5_sep bn5_sep 0=64
PReLU prelu5_sep 1 1 bn5_sep prelu5_sep 0=64
ConvolutionDepthWise conv6_dw 1 1 prelu5_sep conv6_dw 0=64 1=2 11=2 5=1 6=256 7=64
BatchNorm bn6_dw 1 1 conv6_dw bn6_dw 0=64
PReLU prelu6_dw 1 1 bn6_dw prelu6_dw 0=64
Convolution conv6_sep 1 1 prelu6_dw conv6_sep 0=64 1=1 11=1 5=1 6=4096
BatchNorm bn6_sep 1 1 conv6_sep bn6_sep 0=64
PReLU prelu6_sep 1 1 bn6_sep prelu6_sep 0=64
ConvolutionDepthWise conv7_dw 1 1 prelu6_sep conv7_dw 0=64 1=3 11=3 3=2 13=2 5=1 6=576 7=64
BatchNorm bn7_dw 1 1 conv7_dw bn7_dw 0=64
PReLU prelu7_dw 1 1 bn7_dw prelu7_dw 0=64
Convolution conv7_sep 1 1 prelu7_dw conv7_sep 0=128 1=1 11=1 5=1 6=8192
BatchNorm bn7_sep 1 1 conv7_sep bn7_sep 0=128
PReLU prelu7_sep 1 1 bn7_sep prelu7_sep 0=128
ConvolutionDepthWise conv8_dw 1 1 prelu7_sep conv8_dw 0=128 1=2 11=2 5=1 6=512 7=128
BatchNorm bn8_dw 1 1 conv8_dw bn8_dw 0=128
PReLU prelu8_dw 1 1 bn8_dw prelu8_dw 0=128
Convolution conv8_sep 1 1 prelu8_dw conv8_sep 0=128 1=1 11=1 5=1 6=16384
BatchNorm bn8_sep 1 1 conv8_sep bn8_sep 0=128
PReLU prelu8_sep 1 1 bn8_sep prelu8_sep 0=128
ConvolutionDepthWise conv9_dw 1 1 prelu8_sep conv9_dw 0=128 1=3 11=3 3=2 13=2 5=1 6=1152 7=128
BatchNorm bn9_dw 1 1 conv9_dw bn9_dw 0=128
PReLU prelu9_dw 1 1 bn9_dw prelu9_dw 0=128
Convolution conv9_sep 1 1 prelu9_dw conv9_sep 0=256 1=1 11=1 5=1 6=32768
BatchNorm bn9_sep 1 1 conv9_sep bn9_sep 0=256
PReLU prelu9_sep 1 1 bn9_sep prelu9_sep 0=256
ConvolutionDepthWise conv10_dw 1 1 prelu9_sep conv10_dw 0=256 1=2 11=2 5=1 6=1024 7=256
BatchNorm bn10_dw 1 1 conv10_dw bn10_dw 0=256
PReLU prelu10_dw 1 1 bn10_dw prelu10_dw 0=256
Convolution conv10_sep 1 1 prelu10_dw conv10_sep 0=256 1=1 11=1 5=1 6=65536
BatchNorm bn10_sep 1 1 conv10_sep bn10_sep 0=256
PReLU prelu10_sep 1 1 bn10_sep prelu10_sep 0=256
ConvolutionDepthWise conv11_dw 1 1 prelu10_sep conv11_dw 0=256 1=3 11=3 5=1 6=2304 7=256
BatchNorm bn11_dw 1 1 conv11_dw bn11_dw 0=256
PReLU prelu11_dw 1 1 bn11_dw prelu11_dw 0=256
Convolution conv11_sep 1 1 prelu11_dw conv11_sep 0=256 1=1 11=1 5=1 6=65536
BatchNorm bn11_sep 1 1 conv11_sep bn11_sep 0=256
PReLU prelu11_sep 1 1 bn11_sep prelu11_sep 0=256
InnerProduct conv6_3 1 1 prelu11_sep conv6_3 0=212 1=1 2=54272
BatchNorm bn6_3

like this!

from aidlearning-framework.

aidlearning avatar aidlearning commented on July 21, 2024

L106.paramhttps://github.com/aidlearning/AidLearning-FrameWork/blob/master/examples/landmark106/L106.param

from aidlearning-framework.

zys1994 avatar zys1994 commented on July 21, 2024

the result is the same incorrect. your means and scales is [127.5, 127.5, 127.5], [0.0078,0.0078, 0.0078]?

from aidlearning-framework.

zys1994 avatar zys1994 commented on July 21, 2024

Do you mind sharing your L106.bin with me to make sure whether i transfer mxnet to ncnn correctly or not. My email is [email protected]

from aidlearning-framework.

aidlearning avatar aidlearning commented on July 21, 2024

yes!pls give me a star

from aidlearning-framework.

zys1994 avatar zys1994 commented on July 21, 2024

i had given your star when i see your excellent work!

from aidlearning-framework.

zys1994 avatar zys1994 commented on July 21, 2024

i have not received the email.
What's the problem?

from aidlearning-framework.

aidlearning avatar aidlearning commented on July 21, 2024

I have send it by [email protected] be blocked by gmail,i sent u again at once!

from aidlearning-framework.

zys1994 avatar zys1994 commented on July 21, 2024

try [email protected], thanks

from aidlearning-framework.

aidlearning avatar aidlearning commented on July 21, 2024

ok,i email u again, pls check it

from aidlearning-framework.

zys1994 avatar zys1994 commented on July 21, 2024

thanks for your model. i have used your model. but it get incorrect result.

from aidlearning-framework.

zys1994 avatar zys1994 commented on July 21, 2024

this is some problem for gmail, [email protected] is ok.

from aidlearning-framework.

aidlearning avatar aidlearning commented on July 21, 2024

my models is fine, we use it in projects ,it is working good...

from aidlearning-framework.

zys1994 avatar zys1994 commented on July 21, 2024

ok, i use "bn6_3" and get a good result. The SampleLnet106 is conv6-3, leading me a wrong direction. Do you use "bn6_3"?

from aidlearning-framework.

aidlearning avatar aidlearning commented on July 21, 2024

yes! I use the bn6_3

from aidlearning-framework.

Tomhouxin avatar Tomhouxin commented on July 21, 2024

有个问题请教:

  1. 在使用106关键点检测模型之前是否用了mtcnn检测人脸
  2. mtcnn ---》ncnn模型转换是怎么转的

from aidlearning-framework.

aidlearning avatar aidlearning commented on July 21, 2024

用了mtcnn人脸模型,用ncnn直接就可以转啊

from aidlearning-framework.

Tomhouxin avatar Tomhouxin commented on July 21, 2024

这个mtcnn是zuoqing用maxnet训练的吗,然后maxnet2ncnn?

from aidlearning-framework.

qidiso avatar qidiso commented on July 21, 2024

from aidlearning-framework.

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.