- 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
-
- 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 1 commit
-
-
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 1 commit
-
-
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>
-
- 14 Dec, 2021 1 commit
-
-
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
-
- 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
-
- 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>
-
- 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
-
- 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.
-
- 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
-
- 13 May, 2021 1 commit
-
-
Ma Zerun authored
* Assign different priority to default hooks, and add custom hook register in base runner. * Add custom hook register in example train file * Add unittest of custom hook * Code format
-
- 11 May, 2021 2 commits
-
-
Ziyi Wu authored
* add StepMomentumUpdaterHook * add unit test * fix typos * refactor step updater * replace stage with exp * fix linting error * use all() operation
-
gengenkai authored
* [Fix] lr add triangular * [Fix] lr_triangular * lr add docstring * lr add docstring * add unittest of triangular lr update
-
- 27 Apr, 2021 1 commit
-
-
Ziyi Wu authored
* support clipping min_lr in StepLrUpdaterHook * add docstring for StepLrUpdaterHook * fix small bugs * add unit test for StepLrUpdaterHook * fix linting error
-
- 10 Apr, 2021 1 commit
-
-
Miao Zheng authored
* [Fix] OneCycleLrUpdaterHook interface * revise according to comments * revise according to comments * add test * fix lint * revise according to comments * minors * add pytest param * fix lint * ci
-
- 09 Apr, 2021 1 commit
-
-
zhouzaida authored
* [Fix] fix bug of lr update hook * [Fix] fix bug of lr update hook * [Fix] Fix bug of lr updater hook
-
- 02 Apr, 2021 1 commit
-
-
zhouzaida authored
* [Feature] Add OneCycleLrUpdaterHook * fix docstring * fix docstring * Remove redundant code
-
- 03 Mar, 2021 1 commit
-
-
Ycr authored
* Simplified the code. * Improved chkpt compatibility. * One may modify the checkpoint via adding keywords. * Tiny. * Following reviewer's suggestion. * Added unit_test. * Fixed. * Modify the state_dict with construction. * Added test. * Modified。 * Mimimalised the modification. * Added the docstring. * Format. * Improved. * Tiny. * Temp file. * Added assertion. * Doc string. * Fixed.
-
- 23 Nov, 2020 1 commit
-
-
Jerry Jiarui XU authored
* [Enhance] Refactor logger * fixed test * make commit optional * remove debug info * fixed test
-
- 06 Nov, 2020 1 commit
-
-
Jerry Jiarui XU authored
* [Feature] Add hook msg for ckpt_hook * [Feature] Add hook msg for ckpt_hook * add test
-
- 05 Nov, 2020 1 commit
-
-
Kuro Latency authored
* Update lr_updater.py since epoch/iteration in runner starts with 0, we shouldn't leave the latter iteration to former (12th epoch for example, with first period equal to 12) period. * Update lr_updater.py * Update test_hooks.py
-
- 28 Oct, 2020 1 commit
-
-
David de la Iglesia Castro authored
* Refactor tags for consistency * Fix missing runner * Fix missing runner * Fix missing runner * Fix missing runner * Fix momentum runner hook inner iter * Fix tests * pre-commit run
-
- 25 Sep, 2020 1 commit
-
-
David de la Iglesia Castro authored
* Add build_runner * Parametrize test_runner * Add imports to runner __init__ * Refactor max_iters and max_epochs from run to init * Add assertion error messages * Add test_builder * Make change retro-compatible * Raise ValueError if max_epochs and max_iters
-
- 15 Aug, 2020 1 commit
-
-
Wang Xinjiang authored
* fix some pavi logger hooks * fix unittest * fix small bugs * small change * fix unittest * Add EpochBasedRunner conditions * Add session text * fix small bug * fetch runner mode from log buffer * Add max_iter to pavi session text * change yaml.dump to yamp.dump(yaml.load(mmcv.dump)) * Directly use by_epoch * fix unittest * add comments * Use runner.epoch + 1 in pavi log * fix runner.epoch issue for runner.mode=='val' * fix runner.epoch issue for runner.mode=='val' * Use abspath instead of realpath * Add meta dump unittest * small change * Add comments
-
- 30 Jul, 2020 1 commit
-
-
shilong authored
* add ema hook * add ema hook resume * add ema hook test * fix typo * fix according to comment * delete logger * fix according to comment * fix unitest * fix typo * fix according to comment * change to resume_from * typo * fix isort
-
- 25 Jul, 2020 1 commit
-
-
Wang Xinjiang authored
* More robust sync buffer hook * More robust sync buffer hook * Reformat
-
- 24 Jul, 2020 1 commit
-
-
Wang Xinjiang authored
* reformat * reformat * Add register hook from cfg * docstring * change according to comments
-
- 17 Jul, 2020 1 commit
-
-
Yawei Li authored
-
- 03 Jul, 2020 1 commit
-
-
Kai Chen authored
* update doc formats * update docstring
-
- 15 Jun, 2020 1 commit
-
-
Harry authored
* feat: add CosineRestartLrUpdaterHook * style: rename period to periods * fix: bug in period 0 * feat: rename eta_min to min_lr and add min_lr_ratio * docs: fix docstring of restart lr updater * refactor: use annealing_cos * docs: add docstring to annealing_cos * feat: cosine restart lr update hook * refactor: modify code order for unittest
-
- 02 Jun, 2020 1 commit
-
-
Kai Chen authored
* add a BaseRunner and rename Runner to EpochBasedRunner * fix the train/val step * bug fix * update unit tests * fix unit tests * raise an error if both batch_processor and train_step are set * add a unit test
-
- 26 Apr, 2020 1 commit
-
-
Kai Chen authored
* refactor unittests * split test_video.py to two files
-
- 22 Apr, 2020 1 commit
-
-
Kai Chen authored
* use tmp dir as work_dir of runner * only run codecov for python 3.7 * remove useless comments
-