How do I print a complete configuration file? #1545
-
In previous versions of mmocr, as well as in projects such as mmdetection, there was a program (tools/misc/print_config.py) that could print out the complete configuration file directly, but the current 1.x version could not find this useful tool. May I ask how you have solved the problem? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
That's a nice catch. It was accidentally removed but we can add it back to BTW, would you mind making a PR to help us to add this script back? :) |
Beta Was this translation helpful? Give feedback.
That's a nice catch. It was accidentally removed but we can add it back to
tools/anaylsis_tools
. There is one reference in MMDetection which can almost be directly applied to MMOCR, but remember to removereplace_cfg_vals
andupdate_data_root
lines to get the origin config.BTW, would you mind making a PR to help us to add this script back? :)