Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

convert error pytorch0.2 #25

Open
yja1 opened this issue Oct 24, 2018 · 6 comments
Open

convert error pytorch0.2 #25

yja1 opened this issue Oct 24, 2018 · 6 comments

Comments

@yja1
Copy link

yja1 commented Oct 24, 2018

torch.version
'0.2.0_4'
ValueError: Unknown layer type: Negate, known types: ['Slice', 'MaxPool2d', 'Add', 'PReLU', 'ELU', 'MulConstant', 'Dropout', 'Addmm', 'BatchNorm', 'Concat', 'UpsamplingBilinear2d', 'Tanh', 'Softmax', 'ConvNd', 'Cmax', 'data', 'View', 'AddConstant', 'Sigmoid', 'LeakyReLU', 'AvgPool2d', 'Threshold']

when convert pytorch Faceboxes-->caffe

@starimeL
Copy link
Owner

The official version of caffe don't support several layers in Faceboxes. You can try ncnn:)

@KaleidoZhouYN
Copy link

The official version of caffe don't support several layers in Faceboxes. You can try ncnn:)

is that because Faceboxes use the CReLU activate?

@yja1
Copy link
Author

yja1 commented Oct 29, 2018

@starimeL
Copy link
Owner

@yja1 the network is similar to the Faceboxes here

@starimeL
Copy link
Owner

@KaleidoZhouYN Also some of other layers like Permute, etc.

@KaleidoZhouYN
Copy link

KaleidoZhouYN commented Nov 15, 2018

@starimeL

@KaleidoZhouYN Also some of other layers like Permute, etc.

so can we just ignore the conversion of permute layer and artificially add caffe layer in prototxt to reach the same result about dim transpose?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants