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

onnx convertor #398

Closed
georgeokelly opened this issue May 11, 2018 · 0 comments
Closed

onnx convertor #398

georgeokelly opened this issue May 11, 2018 · 0 comments

Comments

@georgeokelly
Copy link

When I convert yolov2-tiny-voc.onnx to param and bin, it says

Pad not supported yet!
  # mode=edge
  # pads 7

and the onnx model is exported from pytorch model .
BTW, the yolo cfg is like this:

[net]

# Testing

batch=64

subdivisions=8

# Training

# batch=64

# subdivisions=8

height=416

width=416

channels=3

momentum=0.9

decay=0.0005

angle=0

saturation = 1.5

exposure = 1.5

hue=.1



learning_rate=0.001

burn_in=1000

max_batches = 80200

policy=steps

steps=-1,500,40000,60000

scales=0.1,10,.1,.1



[convolutional]

batch_normalize=1

filters=32

size=3

stride=1

pad=1

activation=leaky



[maxpool]

size=2

stride=2



[convolutional]

batch_normalize=1

filters=64

size=3

stride=1

pad=1

activation=leaky



[maxpool]

size=2

stride=2



[convolutional]

batch_normalize=1

filters=128

size=3

stride=1

pad=1

activation=leaky



[convolutional]

batch_normalize=1

filters=64

size=1

stride=1

pad=1

activation=leaky



[convolutional]

batch_normalize=1

filters=128

size=3

stride=1

pad=1

activation=leaky



[maxpool]

size=2

stride=2



[convolutional]

batch_normalize=1

filters=256

size=3

stride=1

pad=1

activation=leaky



[convolutional]

batch_normalize=1

filters=128

size=1

stride=1

pad=1

activation=leaky



[convolutional]

batch_normalize=1

filters=256

size=3

stride=1

pad=1

activation=leaky



[maxpool]

size=2

stride=2



[convolutional]

batch_normalize=1

filters=512

size=3

stride=1

pad=1

activation=leaky



[convolutional]

batch_normalize=1

filters=256

size=1

stride=1

pad=1

activation=leaky



[convolutional]

batch_normalize=1

filters=512

size=3

stride=1

pad=1

activation=leaky



[convolutional]

batch_normalize=1

filters=256

size=1

stride=1

pad=1

activation=leaky



[convolutional]

batch_normalize=1

filters=512

size=3

stride=1

pad=1

activation=leaky



[maxpool]

size=2

stride=2



[convolutional]

batch_normalize=1

filters=1024

size=3

stride=1

pad=1

activation=leaky



[convolutional]

batch_normalize=1

filters=512

size=1

stride=1

pad=1

activation=leaky



[convolutional]

batch_normalize=1

filters=1024

size=3

stride=1

pad=1

activation=leaky



[convolutional]

batch_normalize=1

filters=512

size=1

stride=1

pad=1

activation=leaky



[convolutional]

batch_normalize=1

filters=1024

size=3

stride=1

pad=1

activation=leaky





#######



[convolutional]

batch_normalize=1

size=3

stride=1

pad=1

filters=1024

activation=leaky



[convolutional]

batch_normalize=1

size=3

stride=1

pad=1

filters=1024

activation=leaky



[route]

layers=-9



[convolutional]

batch_normalize=1

size=1

stride=1

pad=1

filters=64

activation=leaky



[reorg]

stride=2



[route]

layers=-1,-4



[convolutional]

batch_normalize=1

size=3

stride=1

pad=1

filters=1024

activation=leaky



[convolutional]

size=1

stride=1

pad=1

filters=125

activation=linear
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

1 participant