Ma Zerun
bedf4e9f64
[Refactor] Update analysis tools and documentations. ( #1359 )
...
* [Refactor] Update analysis tools and documentations.
* Update migration.md and add unit test.
* Fix print_config.py
2023-02-15 10:28:08 +08:00
Ma Zerun
b4ee9d2848
[Feature] Support calculate confusion matrix and plot it. ( #1287 )
...
* [Feature] Support calculate confusion matrix and plot it.
* Fix keepdim
* Update confusion_matrix tools and the plot graph.
* Revert accidental modification.
* Update docstring
* Move confusion matrix tool to
2023-02-14 12:58:11 +08:00
Ma Zerun
97c4ae8805
[Improve] Update registries of mmcls. ( #1306 )
...
* [Improve] Update registries of mmcls.
* Update according to comments
2023-01-11 15:20:51 +08:00
Ma Zerun
c48cfa9f47
[Docs] Improve the ResNet model page. ( #1118 )
...
* [Docs] Improve the ResNet model page.
* Fix lint.
* Update stat.py
2022-11-08 11:09:51 +08:00
takuoko
9bc58745d1
[Enhance] Update analyze_results.py for dev-1.x. ( #1071 )
...
* update analyze_results
* lint
* add --rescale-factor and fix filename logic
* lint
2022-10-11 11:34:23 +08:00
Songyang Zhang
4367d05dfc
[Enhance] Use `fvcore` to calculate FLOPS. ( #1000 )
...
* [Feature] Use fvcore for flops count
* update requirements
* update
2022-08-31 11:04:42 +08:00
mzr1996
5a3e736b4e
[Feature] Implement offline evaluation.
2022-07-18 11:11:13 +08:00
Ma Zerun
bca695b684
[Refactor] Remove deprecation. ( #633 )
...
* Remove deprecated `--options` in some tools
* Remove deprecated eval hooks and fp16 hooks
* Remove deprecated mixup&cutmix, pretrained and return_tuple arguments.
* Remove deprecated `deprecated_options` in multi label dataset
* Remove deprecated `formating.py`
* Remove deprecated default mode of `LabelSmoothLoss`
* Revert pretrained argument, and remove it's deprecation sign.
* Update unit test
2022-02-10 09:30:18 +08:00
xiefeifeihu
d73eb01cba
[Fix] Fix bug which breaks `cal_train_time` in `analyze_logs.py`. ( #662 )
...
* fix bug mmclassification issues 661
https://github.com/open-mmlab/mmclassification/issues/661
* fix lint
Co-authored-by: Zhicheng Chen <chen1319276472@foxmail.com>
2022-01-19 18:38:48 +08:00
Ma Zerun
894a82ea4f
[Refactor] Change `load_json_logs` to `load_json_log`. ( #602 )
2021-12-14 18:03:27 +08:00
Ezra-Yu
fdb178303b
[Docs] Add analysis&misc docs ( #525 )
...
* refactor ananlysis_log and add docs
* refactor ananlysis_log and fix lint
* improve docs
* improve docs
* improve docs
* fix bugs and refactor analysis_log
* rename analysis folder to analysis_tools
* fix failure link
* add result analysis docs
* add eval-metrics docs
* add misc doc
* fix lint
* improve docs
* improve misc docs
* fix docs
* Change the `eval_options` in `tools/analysis_tools/eval_metric.py` to
`metric_options`
* Improve tutorials
Co-authored-by: mzr1996 <mzr1996@163.com>
2021-12-07 11:27:34 +08:00
Ezra-Yu
7b37bc5bf5
[Refactor] Refactor `analysis_log.py`. ( #529 )
...
* fix bugs and refactor analysis_log
* update some names
2021-12-03 16:02:50 +08:00
Ma Zerun
a55324c453
[Refactor] Remove useless `import_modules_from_string`. ( #544 )
2021-11-22 14:01:26 +08:00
imyhxy
dc35eb62b6
[Fix] Fix an error on indexing scalar metrics in `analyze_result.py` ( #518 )
...
* [Fix] Error on indexing scalar metrics
* [Fix] Error on indexing scalar metrics
Co-authored-by: Ma Zerun <mzr1996@163.com>
Co-authored-by: Ma Zerun <mzr1996@163.com>
2021-11-05 11:57:49 +08:00
imyhxy
abb5a222cf
[Fix] Fix wrong condition judgment in `analyze_logs.py` and prevent empty curve. ( #510 )
...
* [Fix] Analyze logs with single training iteration
* [Fix] Make `plot_curve` with 'accuracy' metric
* [Fix] Assert length of training log records of each epoch is larger than 1
Co-authored-by: Ma Zerun <mzr1996@163.com>
Co-authored-by: Ma Zerun <mzr1996@163.com>
2021-11-03 11:37:51 +08:00
Ezra-Yu
b486bb23f8
[Feature] Add a tool to visualize learning rate in each iterations ( #498 )
...
* add vis lr
* add doc
* Update doc and rm load_json_log in analysis
* Update docs
* add unit tests and update docstring
* fix unit-tests
* Use DummyIterBasedRunner and DummyEpochBasedRunner to simulate training
process.
* rm function val and add judge
* update docs
* improve english expression
* Update docs/tools/visualization.md
Co-authored-by: Ma Zerun <mzr1996@163.com>
* fix typo and ImageNet datasize
* fix typo
* update example
Co-authored-by: mzr1996 <mzr1996@163.com>
2021-11-03 10:48:56 +08:00
Ma Zerun
cb09ed54e5
[Enhance] Support setting `--out-items` in `tools/test.py`. ( #437 )
...
* Support setting out_details in `tools/test.py`.
* Add assertion in `eval_metric` and `analyze_results`.
2021-09-15 11:06:16 +08:00
Ma Zerun
ae40c45c55
[Enhance] Rename the option `--options` in some tools to `--cfg-options`. ( #425 )
2021-09-01 12:49:03 +08:00
Ma Zerun
f9eb9b409b
[Docs] Add Copyright information. ( #413 )
2021-08-17 19:52:42 +08:00
Ma Zerun
aad796ae6f
Modify test tools and add some new tools ( #322 )
...
* Refactor tools folder structure.
* Modify tools/test.py and add eval_metric.py to analysis test output.
* Add new tools `analyze_logs.py` and `print_config.py`.
* Add comment for analysis_tools functions.
2021-06-30 20:51:16 +08:00