* add macro-averaged precision,recall,f1 options in evaluation
* remove unnecessary comments
* Revise according to comments
* Revise according to comments
* Delete the mmcv requirement to support mmcv-full installed environment
* install mmcv in CI
* fix mmcv version error
Co-authored-by: Xinran <lixinran@sensetime.com>
* Use build_runner in train api
* Support iter in eval_hook
* Add runner section
* Add test_eval_hook
* Pin mmcv version in install docs
* Replace max_iters with max_epochs
* Set by_epoch=True as default
* Remove trailing space
* Replace DeprecationWarning with UserWarning
* pre-commit
* Fix tests
* workflow: modify build, add deploy
* fix type: mmseg -> mmcls
* simplify build by delete cuda related settings
* re-sort requirements by pre-commit hook
* build: support more pytorch versions
* build: fix torchvision version bug
* del useless test imports
* merge upstream
* build: del docstring checking to pass coverage check
* add model inference on single image
* rm --eval
* revise doc
* add inference tool and demo
* fix linting
* rename inference_image to inference_model
* infer pred_label and pred_score
* fix linting
* add docstr for inference
* add remove_keys
* add doc for inference
* dump results rather than outputs
* add class_names
* add related infer scripts
* add demo image and the first part of colab tutorial
* conduct evaluation in dataset
* return lst in simple_test
* compuate topk accuracy with numpy
* return outputs in test api
* merge inference and evaluation tool
* fix typo
* rm gt_labels in test conifg
* get gt_labels during evaluation
* sperate the ipython notebook to another PR
* return tensor for onnx_export
* detach var in simple_test
* rm inference script
* rm inference script
* construct data dict to replace LoadImage
* print first predicted result if args.out is None
* modify test_pipeline in inference
* refactor class_names of imagenet
* set class_to_idx as a property in base dataset
* output pred_class during inference
* remove unused docstr
* resize according to short edge
* revise doc for resize
* fix unitest for resize
* resize short_edge when second value of size is -1
* rename short_edge to short_side