mirror of
https://github.com/open-mmlab/mmcv.git
synced 2025-06-03 21:54:52 +08:00
* config dump fix dump should not depend on how config was loaded only where it is dumped changed checks for type to the given filename instead of the source filename * defined test_fromdict and fixed dump function it might be more convoluted than it needs to be but the formatting depends on the extension of the argument or the extension of the self.filename * config dump defaults to returning pretty_text, test_fromdict renamed to test_dump_from_dict * some reformatting in docstrings * refine unittest * fix unit test as comment * Refine docstring * minor refinement * import mmcv * fix lint Co-authored-by: HAOCHENYE <21724054@zju.edu.cn> Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>