MTLab / onnx2caffe

pytorch to caffe by onnx
MIT License
370 stars 102 forks source link

attribute is incorrectly named "radio" instead of "ratio". #6

Closed trieck closed 5 years ago

trieck commented 5 years ago

in the _convert_dropout function of _operators.py, the code reads:

ratio = node.attrs.get('radio', 0.5)

instead of the correct attribute "ratio":

ratio = node.attrs.get('ratio', 0.5)

YukiNagato commented 5 years ago

Sorry for the late reply because i were on holiday, it's fixed now. Thank you very much!