- 19 Aug, 2022 1 commit
-
-
Mashiro authored
* change MODELS to mmengine, delete basemodule * fix unit test * remove build from cfg * add comment and rename TARGET_MODELS to registry * refine cnn docs * remove unnecessary check * refine as comment * refine build_xxx_conv error message * fix lint * fix import registry from mmcv * remove unused file
-
- 16 Aug, 2022 1 commit
-
-
Zaida Zhou authored
-
- 18 May, 2022 1 commit
-
-
Zaida Zhou authored
* add pyupgrade * add options for pyupgrade * minor refinement
-
- 09 May, 2022 1 commit
-
-
pc authored
-
- 24 Apr, 2022 1 commit
-
-
Artem authored
* added clearml logger support * review fixes * review fixes
-
- 31 Mar, 2022 1 commit
-
-
Sharpiless authored
* update support for linearly learning rate decay * Fix LinearAnnealingLrUpdaterHook, update LinearAnnealingMomentumUpdaterHook, add unit test add docstring add docstring update linear lr momentum schedule test fix ci Fix CI * add lr and momentum hook to runner and hooks package add lr and momentum hook to runner and hooks package * replace multi_optimziers with multi_optimizers Co-authored-by:
HAOCHENYE <21724054@zju.edu.cn> Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
-
- 03 Mar, 2022 1 commit
-
-
saurbhc authored
* add SegmindLoggerHook * update linting for segmind.py * ran pre-commit * add test_segmind_hook - add SegmindLoggerHook import in: mmcv/runner/__init__.py mmcv/runner/hooks/__init__.py mmcv/runner/hooks/logger/__init__.py * update test_segmind_hook - Add Docstring to SegmindLoggerHook - Use get_loggable_tags(...) * update test_hooks.py & segmind.py - mmcv/runner/hooks/logger/segmind.py moved docs from __init__ to class ... update ImportError line-indentation remove unwanted method - tests/test_runner/test_hooks.py update assert_called_with only on hook.segmind_mlflow_log * Update tests/test_runner/test_hooks.py disable yapf on test_hooks.py imports Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update mmcv/runner/hooks/logger/segmind.py Update SegmindLoggerHook docstring Co-authored-by:
Jiazhen Wang <47851024+teamwong111@users.noreply.github.com> * update before_run method in segmind.py removed un-used statements * updated imports in SegmindLoggerHook * update SegmindLoggerHook - code cleanup * update SegmindLoggerHook - add interval parameter in __init__ method * update SegmindLoggerHook - more arguments passes to __init__ method - interval - ignore_last - reset_flag - by_epoch * Update mmcv/runner/hooks/logger/segmind.py Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> * Update mmcv/runner/hooks/logger/segmind.py Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> Co-authored-by:
Jiazhen Wang <47851024+teamwong111@users.noreply.github.com> Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
-
- 24 Feb, 2022 1 commit
-
-
Zaida Zhou authored
* first commit * Add copyright pre-commit-hook
-
- 09 Feb, 2022 1 commit
-
-
Zaida Zhou authored
* Upgrade the version of isort * sort the order of importing modules
-
- 07 Feb, 2022 1 commit
-
-
Hakjin Lee authored
* [Fix] mlflow logger error * [Update] mlflow hook test arguments * Replace torch.__version__ with mmcv.TORCH_VERSION * update test code
-
- 27 Jan, 2022 1 commit
-
-
Hakjin Lee authored
-
- 24 Jan, 2022 2 commits
-
-
Zaida Zhou authored
* [Fix] Fix the cast_tensor_type when the type of inputs is not the same as src_type * Add note * improve comments
-
Mashiro authored
* Add decay to cyclic LR * Simplify tests * Fix error in tests * fix cyclic lr * add weight decay CyclicLrUpdate test * Update mmcv/runner/hooks/lr_updater.py update docstring Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * update CyclicLrUpdater unit test * add comments to CyclicLrUpdaterHook * fix CyclicLrUpdater. Support peak_lr decay when target[0] < 1 * add momentum decay to CyclicMomentumUpdater * update momentum unit test * Fix CyclicMomentum comment Fix CyclicMomentum comment Co-authored-by:
Dmytro Panchenko <panchenkodmytry@gmail.com> Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
- 18 Jan, 2022 1 commit
-
-
imyhxy authored
* fix momentum updater typo bug * Add unit test for 'constant', 'linear' and 'exp' momentum warmup policy
-
- 10 Jan, 2022 1 commit
-
-
fatih authored
* add artifact logging to wandb hook * upload artifacts wiwth only specified suffix * update docstring * Update mmcv/runner/hooks/logger/wandb.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * fix linting * add tests for wandb artifact logging * remove redundant lines * fix wandb tests * init `WandbLoggerHook` with `log_artifact=True` in tests * remove redundant lines from wandb tests * add docstring for `with_step` Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
- 22 Dec, 2021 2 commits
-
-
David de la Iglesia Castro authored
* Updates to work with DVC * Update docstrings * Updated test * Updated DVCLiveLoggerHook * Fix name * Added missing next_step call * Fix expected call * Implicit next_step * Suggestions from review * Update test_hooks.py * Updated to last dvclive version * Cleaned docstring * Update mmcv/runner/hooks/logger/dvclive.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update dvclive.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
Jiazhen Wang authored
* [Fix] fix some warnings in unittest * [Impl] standardize some warnings * [Fix] fix warning type in test_deprecation * [Fix] fix warning type * [Fix] continue fixing * [Fix] fix some details * [Fix] fix docstring * [Fix] del useless statement * [Fix] keep compatibility for torch < 1.5.0
-
- 14 Dec, 2021 3 commits
-
-
Jiazhen Wang authored
* [fix] fix checkpoint local files detect * [Fix] add support for path like '~/xx/file' * [Fix] fix some details * [Fix] fix unittest
-
Zaida Zhou authored
* [Fix] Fix the path of ceph containing cluster name * fix corner cases * fix format * add note
-
Shilong Zhang authored
* detect detect_anomalous_params * fix default value * merge two case * fix none case * add unitest * fix typo * change level to error * fix type * add more details in docstr
-
- 06 Dec, 2021 1 commit
-
-
Luting Wang authored
* improve: add module dict * Update __init__.py * docs: add module dict zh * docs: add module dict * Update test_basemodule.py * Update __init__.py * lint * lint * docs * docs * Update base_module.py * lint
-
- 10 Nov, 2021 2 commits
- 24 Oct, 2021 1 commit
-
-
Zaida Zhou authored
* [Feature] Choose storage backend by the prefix of filepath * refactor FileClient and add unittest * support loading from different backends * polish docstring * fix unittet * rename attribute str_like_obj to is_str_like_obj * [Docs] Upload checkpoint to petrel oss * add infer_client method * Support uploading checkpoint to petrel oss * add check_exist method * refactor CheckpointHook * support uploading logs to ceph * rename var client to file_client * polish docstring * enhance load_from_ceph * refactor load_from_ceph * refactor TextLoggerHook * change the meaning of out_dir argument * fix test_checkpoint_hook.py * add join_paths method * remove join_paths and add _format_path * enhance unittest * refactor unittest * add a unittest for EvalHook when file backend is petrel * singleton pattern * fix test_clientio.py * deprecate CephBackend * add warning in load_from_ceph * fix type of out_suffix * enhance docstring * refactor unittest for petrel * refactor unittest for disk backend * update io.md * add concat_paths method * fix CI * mock check_exist * improve docstring * improve docstring * improve docstring * improve docstring * add isdir and copyfile for file backend * delete copyfile and add get_local_path * remove isdir method of petrel * fix typo * rename check_exists to exists * refactor code and polish docstring * fix windows ci * add comment and polish docstring * polish docstring * polish docstring * rename _path_mapping to _map_path * polish docstring and fix typo * refactor get_local_path * add list_dir_or_file for FileClient * add list_dir_or_file for PetrelBackend * fix windows ci * Add return docstring * polish docstring * fix typo * fix typo * fix typo * fix error when mocking PetrelBackend * deprecate the conversion from Path to str * add docs for loading checkpoints with FileClient * rename keep_log to keep_local * refactor map_path * add _ensure_methods to ensure methods have been implemented * fix list_dir_or_file * rename _ensure_method_implemented to has_method * refactor * polish information * format information
-
- 04 Oct, 2021 1 commit
-
-
Zaida Zhou authored
* Add code-spell hook to pre-commit * Add code-spell hook to pre-commit and fix typos * fix setup.cfg
-
- 07 Sep, 2021 1 commit
-
-
Ma Zerun authored
* Fix missing `state_dict._metadata` when saving & loading checkpoints. * Add unit tests. * Fix default value and variable names in unit tests.
-
- 24 Aug, 2021 1 commit
-
-
Wenwei Zhang authored
* add windows CI * clean versions * only allow pt1.7 on windows * fix windows install issue * add win cpu * fix win command * clean unnecessary command * resolve turbojpeg & tempfile on win * replace os.readlink with os.path.realpath * fix windows ci * close file before removing it * fix windows ci * fix symlink on windows * fix windows ci * fix windows ci * fix windows ci * fix windows ci * fix windows ci * fix windows ci * fix windows ci * fix windows ci * fix windows ci * modify according to comment Co-authored-by:zhouzaida <zhouzaida@163.com>
-
- 23 Aug, 2021 1 commit
-
-
Ma Zerun authored
* Add gradient cumulative optimizer fixes #190 * Update optimizer.py * Update optimizer.py * fix loss scale improperly in last equivalent_iter * Add `GradientCumulativeOptimizerHook` in `__init__.py`. * Add docstring of `GradientCumulativeOptimizerHook`. * Add type check, BN warning and resume warning. And fix typo, lint the code. * Add unit test * Update docstring example. * Change GradientCumulativeOptimizerHook `__init__` arguments. * Add GradientCumulativeOptimzierHook unit tests with IterBasedRunner. * Add GradientCumulativeFp16OptimizerHook. * Add unit tests of GradientCumulativeFp16OptimizerHook * Use '!=' instead of '>' to determine resume Co-authored-by:Zhiyuan Chen <this@zyc.ai>
-
- 11 Aug, 2021 2 commits
-
-
Zaida Zhou authored
* [Fix] Fix the bug that training log and evaluating log are mixed * [Fix] Fix the bug that training log and evaluating log are mixed * fix comment * fix import error * refactor * refactor * refactor * clear log_buffer before evaluation * fix error * add unittest
-
Shilong Zhang authored
* add logger for init * change init_info of oevrload init_weight * add judgement for params_init_info * add delete comments for params_init_info * add docstr and more comments * add docstr and more comments * resolve comments * dump to a file * add unitest * fix unitest * fix unitest * write to ori log * fix typo * resolve commnets * fix call initweights twice in topmost module * fix the potential bug of recursive import * fix unitest * fix potiential bugs * remove unneccesary change * add more unitest * fix add param in initweights * add more comments * raise error * add more detail assert error
-
- 08 Aug, 2021 1 commit
-
-
Jerry Jiarui XU authored
* [Docs] Add header for files * change to OpenMMLab * add headers for .cpp, .cu, .h, .cuh * replace Open-MMLab with OpenMMLab
-
- 23 Jul, 2021 2 commits
-
-
Shilong Zhang authored
* add logger for init * change init_info of oevrload init_weight * add judgement for params_init_info * add delete comments for params_init_info * add docstr and more comments * add docstr and more comments * resolve comments * dump to a file * add unitest * fix unitest * fix unitest * write to ori log * fix typo * resolve commnets
-
Haodong Duan authored
* improve digit_version & use it for version_checking * more testing for digit_version * setuptools >= 50 is needed * fix CI * add debuging log * >= to == * fix lint * remove * add failure case * replace * fix * consider TORCH_VERSION == 'parrots' * add unittest * digit_version do not deal with the case if 'parrots' in version name.
-
- 20 Jul, 2021 1 commit
-
-
Gu Wang authored
* add flat cosine lr updater * add test * add doc * update doc * reformat * update unittest * update test flat cos * remove momentum hook test * update test * change assert to ValueError * fix unittest * add by_epoch=True unittest * change to start_percent * change to start_percent in test
-
- 09 Jul, 2021 1 commit
-
-
Y_Xuan authored
* porting mmcv for hip * add nvcc * fix format * fix format * fix bug for carafe * fix test_utils because rocm_torch not allow set torch.backends.cudnn.benchmark to false * add LOOSEVERSION * fix format * fix format of version * fix code format * test for yaml * fix bug for citest * fix bug for how to get torch._version_ at setup.py
-
- 25 Jun, 2021 2 commits
-
-
Ma Zerun authored
* support print using hooks before running. * Support to print hook trigger stages. * Print stage-wise hook infos. And make `stages` as class attribute of `Hook` * Add util function `is_method_overriden` and use it in `Hook.get_trigger_stages`. * Add unit tests. * Move `is_method_overriden` to `mmcv/utils/misc.py` * Improve hook info text. * Add base_class argument type assertion, and fix some typos. * Remove `get_trigger_stages` to `get_triggered_stages` * Use f-string.
-
Ma Zerun authored
* Refine default hooks and custom hooks priority rank. * Add unit tests for custom hooks with string priority. * Use priority `ABOVE_NORMAL` and `BELOW_NORMAL` instead of `HIGHER` and `LOWER`. And add unit tests for custom hook with the same priority as default hooks.
-
- 24 Jun, 2021 1 commit
-
-
Yining Li authored
* EvalHook uses case-insensitive key indicator matching and configurable test functions * * fix docstring * * move test_fn import into __init__ * configurable greater/less keys * * update unittest * update DistEvalHook * fix comments and remove debug code * support single greater/less key
-
- 08 Jun, 2021 1 commit
-
-
David de la Iglesia Castro authored
* Add dvclive logger hook * Move docstring to class * docstring updates
-
- 23 May, 2021 1 commit
-
-
fcakyon authored
* add neptune.ai logger hook * add docstring * move docstring * update docstr * update before_run
-