How do I set --input_dims option in


I want to translate caffe model to caffe2 model using
but I cannot figure out how to specify the --input_dims options.

usage: [-h] [--init_net INIT_NET]
                           [--predict_net PREDICT_NET] [--remove_legacy_pad]
                           [--input_dims INPUT_DIMS [INPUT_DIMS ...]]
                           prototext caffemodel

Is there anybody explain the usage of --input_dims with caffe’ mnist tutorial


This question is worth a Billion Dollars.

python --remove_legacy_pad new.prototxt new.caffemodel --input_dims 1 3 210 280

putting it at the end
this worked for me