- 25 Apr, 2022 2 commits
- 24 Apr, 2022 1 commit
-
-
Artem authored
* added clearml logger support * review fixes * review fixes
-
- 21 Apr, 2022 1 commit
-
-
Alex Yang authored
-
- 18 Apr, 2022 5 commits
-
-
Zaida Zhou authored
-
Mashiro authored
* enhance get_torchvision_models * simplify logic * Dump ckpt in torchvision lower than 0.13.0 to a json file * add json * refactor load urls logic * fix unit test * change url key to lower letters * check torchvision version rather than check torch version in unittest * Fix CI and refine test logic of torchvision version * add comment * support compare pre-release version * support loaad modeel like torchvision * refine comment. * fix unit test and comment * fxi unit test bug * support get model by lower weights
-
Tan SU authored
* [Fix] get correct encoding in Windows for collect_env() * stdout.fileno()
-
Vince Jankovics authored
* None parsing fixed for config * Formatting * Lower case none fix
-
mattcasey02 authored
* Fixed version comparison to include prerelease versions Currently all tagged versions of torch 1.11.0 have version 1.11.0a0. Previously the comparison to 1.11.0 failed and self._sync_params() was still used, causing an error. This fix should include all versions of 1.11. * Same update Didn't realize that 1.11.0 was mentioned multiple times in the file. This fixes the other instances.
-
- 17 Apr, 2022 1 commit
-
-
Hu Di authored
* implement runner on IPU * adjust import * adjust import * add ignore for ipu on without ipu * remove compilation cache * remove ipu from mmcv/runner.__all__ * adjust IS_IPU and IS_MLU * adjust by isort * add ipuHardwareIsAvailable * remove engine_cache * code review 9
-
- 16 Apr, 2022 3 commits
-
-
Qiza-lyhm authored
- Add MLU operator kernels.
-
Zaida Zhou authored
* [Refactor] Move is_mlu_available to mmcv/utils/device_type.py * remove comma * fix isort
-
Jiazhen Wang authored
* [Feature] Add roiaware pool3d ops from mmdet3d (#1382) * add ops (roiaware pool3d) in mmdet3d * refactor code * fix typo Co-authored-by:
zhouzaida <zhouzaida@163.com> * [Feature] Add iou3d op from mmdet3d (#1356) * add ops (iou3d) in mmdet3d * add unit test * refactor code * refactor code * refactor code * refactor code * refactor code Co-authored-by:
zhouzaida <zhouzaida@163.com> * [Fix] Update test data for test_iou3d (#1427) * Update test data for test_iou3d * delete blank lines Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * [Feature] Add group points ops from mmdet3d (#1415) * add op (group points) and its related ops (ball query and knn) in mmdet3d * refactor code * fix typo * refactor code * fix typo * refactor code * make input contiguous Co-authored-by:
zhouzaida <zhouzaida@163.com> * add mmdet3d op (#1425) Co-authored-by:
zhouzaida <zhouzaida@163.com> * [Feature] Loading objects from different backends and dumping objects to different backends (#1330) * [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 * add infer_client method * add check_exist method * rename var client to file_client * polish docstring * add join_paths method * remove join_paths and add _format_path * enhance unittest * refactor unittest * singleton pattern * fix test_clientio.py * deprecate CephBackend * enhance docstring * refactor unittest for petrel * refactor unittest for disk backend * update io.md * add concat_paths method * 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 * add comment and 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 * deprecate the conversion from Path to str * add docs for loading checkpoints with FileClient * refactor map_path * add _ensure_methods to ensure methods have been implemented * fix list_dir_or_file * rename _ensure_method_implemented to has_method * Add CI for pytorch 1.10 (#1431) * [Feature] Upload checkpoints and logs to ceph (#1375) * [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 * bump version to v1.3.16 (#1430) * [Fix]: Update test data of test_tin_shift (#1426) * Update test data of test_tin_shift * Delete tmp.engine * add pytest raises asserterror test * raise valueerror, update test log * add more comment * Apply suggestions from code review Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * fix the wrong function reference bug in BaseTransformerLayer when batch_first is True (#1418) * [Docs] Add mmcv itself in the docs list (#1441) * Add mmcv itself in the docs list * modify link of docs * [Improve] improve checkpoint loading log (#1446) * [Feature] Support SigmoidFocalLoss with Cambricon MLU backend (#1346) * [Feature] Support SigmoidFocalLoss with Cambricon MLU backend * refactor MMCV_WITH_MLU macro define * refactor NFU_ALIGN_SIZE, PAD_DOWN and split_pipeline_num * delete extra fool proofing in cpp * [Feature] Support SigmoidFocalLossBackward with Cambricon MLU backend * fix macro definition in SigmoidFocalLoss * refactor mlu files into clang-format * refactor sigmoid focal loss test * refactor Sigmoid Focal Loss file structure. * fix python lint error * fix import torch_mlu error type * fix lint * refactor clang format style to google Co-authored-by:
zhouzaida <zhouzaida@163.com> * [Feature] Support RoiAlign With Cambricon MLU Backend (#1429) * [Feature] Support NMS with cambricon MLU backend (#1467) * [Feature] Support BBoxOverlaps with cambricon MLU backend (#1507) * [Refactor] Format C++ code * [Refactor] include common_mlu_helper in pytorch_mlu_helper and refactor build condition * [Improve] Improve the performance of roialign, nms and focalloss with MLU backend (#1572) * [Improve] Improve the performance of roialign with MLU backend * replace CHECK_MLU with CHECK_MLU_INPUT * [Improve] Improve the perf of nms and focallosssigmoid with MLU backend * [Improve] Improve the performance of roialign with MLU backend (#1741) * [Feature] Support tin_shift with cambricon MLU backend (#1696) * [Feature] Support tin_shift with cambricon MLU backend * [fix] Add the assertion of batch_size in tin_shift.py * [fix] fix the param check of tin_shift in cambricon code * [fix] Fix lint failure. * [fix] Fix source file lint failure. * Update mmcv/ops/tin_shift.py [Refactor] Modify the code in mmcv/ops/tin_shift.py. Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> Co-authored-by:
budefei <budefei@cambricon.com> Co-authored-by:
budefei <budefei@cambricom.com> Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * resolve conflicts and fix lint * fix mmcv.utils.__init__ * fix mmcv.utils.__init__ * Fix lints and change FLAG * fix setup and refine * remove a redundant line * remove an unnecessary 'f' * fix compilation error Co-authored-by:
dingchang <hudingchang.vendor@sensetime.com> Co-authored-by:
zhouzaida <zhouzaida@163.com> Co-authored-by:
q.yao <yaoqian@sensetime.com> Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> Co-authored-by:
pc <luopeichao@sensetime.com> Co-authored-by:
Wenwei Zhang <40779233+ZwwWayne@users.noreply.github.com> Co-authored-by:
q.yao <streetyao@live.com> Co-authored-by:
Tong Gao <gaotongxiao@gmail.com> Co-authored-by:
Yuxin Liu <liuyuxin@cambricon.com> Co-authored-by:
zihanchang11 <92860914+zihanchang11@users.noreply.github.com> Co-authored-by:
shlrao <shenglong.rao@gmail.com> Co-authored-by:
zhouchenyang <zcy19950525@gmail.com> Co-authored-by:
Mrxiaofei <36697723+Mrxiaofei@users.noreply.github.com> Co-authored-by:
budefei <budefei@cambricon.com> Co-authored-by:
budefei <budefei@cambricom.com>
-
- 15 Apr, 2022 5 commits
-
-
Qiza-lyhm authored
To have the same shape of MLU copy and Scatter.forward, a 1-dim list has to be added. Origin MMDP / MMDDP with this scatter_gather returns a list of tensor for each targets, and here MLU copy returns the same shape Tensor in a list of just one default target.
-
Danila Rukhovich authored
* diff_iou_rotated is working * add test; fix lint * fix lint for test * disable cpu build * refactor files structure * fix comments * remove extra .repeat() * add comment * fix j-1 bug; update doc * fix clang lint * update docstrings * fix comments * fix comments
-
Charlyo authored
* Make sure padding size is not negative If Resize maintains aspect ratio, could be the case that image shape is bigger than resize value. * Test pad shape smaller than image shape * Fix lint * Remove whitespaces
-
q.yao authored
* add gather_keep_from_mask_parallize * remove unused cache * move syncthread * remove unused comment * add more comments, rename the kernel and variable
-
Wenwei Zhang authored
-
- 14 Apr, 2022 3 commits
-
-
VVsssssk authored
-
Qiza-lyhm authored
* feat(MLU): Support PyTorch backend on MLU * MMCV support PyTorch backend on MLU * Add MLUDataParallel and MLUDistributedDataParallel * Add MLU operator support * [Fix]: Fix PR comments and add IS_MLU to get device available check * [Fix]: fix PR comments of dist_utils.py * [Doc] Rewrite annotations of functions. * [Docs] Rewrite annotation in distributed.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * [Docs] Fix lint Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
Andrew Stahlman authored
* Speed up Registry initialization This PR addresses https://github.com/open-mmlab/mmcv/issues/1843. Instead of calling inspect.stack() to read the entire stack and its associated source files from disk, walk up the stack to get only the specific frame that we need (see [1] for additional information). This makes imports in downstream projects ~2.5x faster in my local dev environment. For mmaction2, for example: Before: $ python -m timeit -n1 -r1 "from mmaction.apis import init_recognizer, inference_recognizer" 1 loop, best of 1: 1.94 sec per loop After: $ python -m timeit -n1 -r1 "from mmaction.apis import init_recognizer, inference_recognizer" 1 loop, best of 1: 754 msec per loop [1] https://stackoverflow.com/a/42636264/895769 * Add comment with PR tag Explain why we avoid `inspect.stack()` with link to PR
-
- 13 Apr, 2022 1 commit
-
-
Song Lin authored
-
- 10 Apr, 2022 1 commit
-
-
q.yao authored
* optimize forward * fast backward * fix bugs of grad input2
-
- 09 Apr, 2022 1 commit
-
-
Alex Yang authored
* [feat]:support find free port in _init_dist_slurm * fix format * Update mmcv/runner/dist_utils.py should support port taken by a non-localhost address. Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> * Update dist_utils.py Add Copyright. * rename inner function * Update mmcv/runner/dist_utils.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * fix dist_utils.py change _is_port_in_use() criterion. * Update dist_utils.py rename _is_port_in_use to _is_free_port * Update mmcv/runner/dist_utils.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update dist_utils.py fix lint * Update dist_utils.py fix lint Co-authored-by:
Mashiro <57566630+HAOCHENYE@users.noreply.github.com> Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
-
- 05 Apr, 2022 1 commit
-
-
Tan SU authored
* [fix] fix collect_env() on Windows * fix(utils): add back 'Cuda compilation tools' to nvcc info * feat(utils): find default ccompiler * fix(utils, test): parse cl.exe version instead of path * fix: code style * fix(tools): use distutils * [fix] collect_env() returns GCC or MSVC * [fix] unitest for collect_env() * add comments * test: add GCC to expected_keys * fix: code style * Update mmcv/utils/env.py
-
- 02 Apr, 2022 2 commits
-
-
Jiazhen Wang authored
* Fix python3.10 ci * fix build ci * fix build ci * fix onnx build in ci * remove onnx optimizer * remove python3.10 ci * special treatment for py3.10 * fix build ci * special treatment for python3.10 in requirements/test * fix requirements/test
-
Rockey authored
-
- 01 Apr, 2022 1 commit
-
-
Zaida Zhou authored
-
- 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>
-
- 28 Mar, 2022 1 commit
-
-
wulele authored
-
- 26 Mar, 2022 2 commits
-
-
Zaida Zhou authored
-
Jiazhen Wang authored
* fix pt111 dist * fix val step
-
- 24 Mar, 2022 2 commits
- 23 Mar, 2022 1 commit
-
-
Zaida Zhou authored
* [Docs] Add more windows information in README * minor fix * rename MacOS to macOS
-
- 22 Mar, 2022 3 commits
-
-
q.yao authored
* implement corner pool with python for torch<1.5 * fix for torch130
-
Tan SU authored
* [fix] config ignore modules and functions * add unitest
-
Jiazhen Wang authored
* add python3.10 ci * fix github workflow
-
- 21 Mar, 2022 1 commit
-
-
q.yao authored
-
- 18 Mar, 2022 1 commit
-
-
Wenhao Wu authored
-