open-mmlab / mmdetection

OpenMMLab Detection Toolbox and Benchmark
https://mmdetection.readthedocs.io
Apache License 2.0
29.02k stars 9.36k forks source link

get_flops.py file requires different commands than those in the instructions document #11465

Open Jano-rm-rf opened 7 months ago

Jano-rm-rf commented 7 months ago

Describes the commands exemplified in the documentation: python tools/analysis_tools/get_flops.py ${CONFIG_FILE} [--shape ${INPUT_SHAPE}] However, the parameters requested in this file are shown in the image below image What should I do if I want to change the image size like before? Please update the instructions document, thanks.

q105682711 commented 5 months ago

I also have the same problem, have you solved it?