Commit Graph

1036 Commits (bdabdffcf95757f2c25b7c1be15dae02d54c34ea)
 

Author SHA1 Message Date
q.yao 3b2139e229
[Fix] Fix build with cuda9.0 (#1525)
* Fix build with cuda9.0

* add note about why do we use torch/types.h
2021-11-29 11:27:35 +08:00
Zaida Zhou 46b2cb376b
[Fix] Fix the compiled error on windows due to the c++14 flag (#1526)
* [Fix] Fix the compiled error on windows due to the c++14 flag

* fix lint
2021-11-28 19:21:41 +08:00
Zaida Zhou d4d6ea09e3
[Docs] Add mmfewshot link (#1528) 2021-11-26 20:48:55 +08:00
q.yao e3327ca620
Fix iou3d python bind (#1524) 2021-11-25 11:05:27 +08:00
Zaida Zhou 58e32423f0
bump version to v1.3.18 (#1519) 2021-11-23 22:00:02 +08:00
q.yao 230f9a3b80
Refactor csrc with device dispatcher (#1463)
* Add device registry for pytorch ops

* add declaration of CheckDeviceConsistency

* fix for torch130

* assert with torch check

* Refactor ops with dispatch

* update rest ops

* faster install

* update compatibility

* update compatibility, rename parameter

* move cpu implement to pytorch/cpu

* update ops/csrc/README.md

* fix rocm support

* update cn document

* update docs

* list instead of map
2021-11-23 21:59:53 +08:00
Zaida Zhou ef8ba75202
[Docs] Add the url of pre-built packages built with cuda 11.3 (#1489) 2021-11-23 21:36:18 +08:00
Zaida Zhou 144f1e129e
[Docs] Add a script to check the installation of mmcv-full (#1474)
* [Docs] Add a script to verify the installation of mmcv-full

* polish documentation

* polish documentation

* print the running and compiling environments

* rename scripts to .dev_scripts

* polish readme
2021-11-23 18:42:41 +08:00
pc 0ce29733d2
add group_points, iou3d, roiaware_pool3d and voxelize in parrots (#1504) 2021-11-23 18:42:00 +08:00
Zaida Zhou 9cad97bcf8
[Fix] Fix compiled error on windows (#1510) 2021-11-23 18:41:25 +08:00
Jiazhen Wang 71341e9a0a
[Fix] fix assert (#1490) 2021-11-23 18:38:32 +08:00
Ma Zerun 78305e7811
Update mmcls models in `model_zoo/mmcls.json` (#1513)
* Update mmcls models in `model_zoo/mmcls.json`

* Update `_process_mmcls_checkpoint` function.

* Add a comment
2021-11-23 18:37:37 +08:00
Jiazhen Wang b57825f3f1
[Fix] fix train example (#1502)
* [Fix] fix train example

* [Fix] fix a detail in train example and add warning in MMDP

* [Fix] fix docstring

* [Fix] fix docstring
2021-11-23 18:35:26 +08:00
古月闻星 e85c43ab87
[Doc]: Fix grammatical error (#1516) 2021-11-23 18:32:36 +08:00
Jiazhen Wang 1bc4350b1e
[Fix] fix links in LICENSES (#1517) 2021-11-23 18:30:48 +08:00
Zaida Zhou 2f023453d6
[Docs] Add the link and introduction of mmflow in README (#1506)
* [Docs] Add the link and introduction of mmflow in README

* remove a blank line

* fix link
2021-11-22 10:20:27 +08:00
WangJiaZhen 2dd705f785
[Improve] improve .gitignore (#1477) 2021-11-20 16:27:09 +08:00
Tobias Fischer bf6ba2587b
add world_size in if clause in load_from_http (#1396)
* add world_size in if clause

* add explanation

* remove LOCAL_RANK check
2021-11-19 17:37:17 +08:00
Zaida Zhou 990d8b6a83
[Fix] Add load_url to handle incompatibility of PyTorch versions (#1377)
* [Fix] Fix torch.load error

* [Fix] Fix torch.load error

* rename _save to _save_ckpt

* add load_url to handle imcompatibility of PyTorch versions

* add unittest for load_url

* fix typo

* print a friendly information when error occurred
2021-11-19 17:34:18 +08:00
Zaida Zhou add157cc73
bump version to v1.3.17 (#1473)
* bump version to v1.3.17

* add a document to record the previous versions of PyTorch built for mmcv-full

* polish readme
2021-11-10 21:02:40 +08:00
Wenwei Zhang f81cf0f702
[Docs]: Add ops definition (#1434)
* [Improve] improve checkpoint loading log (#1446)

* add first version

* remove syncbn

* remove unused ops

* update input names

* remove empty line

* update index.rst

* resolve comments

* fix type

* Update mmcv_ops_definition.md

Co-authored-by: WangJiaZhen <47851024+teamwong111@users.noreply.github.com>
Co-authored-by: maningsheng <mnsheng@yeah.net>
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2021-11-10 19:07:12 +08:00
WangJiaZhen e3c63f34bc
[Fix] Fix deform conv by adding an extra argument im2col_step (#1459)
* [Fix] fix deform conv by add argument

* [Fix] replace useless func with np.repeat and add necessary comment

* [Fix] reduce batch_size and remove useless lines and modify some var name

* [Fix] change position of comments

* [Fix] add im2col_step in the docstring and add two test cases

* [Fix] fix docstring and add comments for test cases

* [Fix] fix docstring

* [Fix] add note, fix issue link and other details

* [Fix] fix docstring details

* [Fix] fix links in docstring

* [Fix] fix docstring details
2021-11-10 19:05:20 +08:00
zhouzaida 0633f91139 print a warning information when eval_res is an empty dict 2021-11-10 15:44:48 +08:00
zhouzaida f2d11076eb [Fix] Raise AssertError when eval_res is a null dict 2021-11-10 15:44:48 +08:00
gaotongxiao 085e63629b fix cn docs menu 2021-11-10 15:43:40 +08:00
RangiLyu cc81d4b562 [Enhance] prevent deadlock in 2021-11-10 15:43:11 +08:00
ly015 8afb7c295c remove writer check 2021-11-10 15:36:25 +08:00
ly015 a68d28c9f8 close writer in after_run 2021-11-10 15:36:25 +08:00
ly015 9071202fde fix PaviLoggerHook 2021-11-10 15:36:25 +08:00
MeowZheng 792473c960 return2returns 2021-11-08 10:02:33 +08:00
MeowZheng b0582217c0 revise equation in correlation 2021-11-08 10:02:33 +08:00
MeowZheng d4615b846d minors 2021-11-08 10:02:33 +08:00
MeowZheng cfa5fc8489 [Doc] Fix invalid symbols in docstring 2021-11-08 10:02:33 +08:00
zhouzaida e22740b1d6 add note 2021-11-04 14:39:59 +08:00
zhouzaida 1ab29de7eb change the width from 80 to 100 2021-11-04 14:39:59 +08:00
zhouzaida d57026b7fc Update the table of pre-built packages in readme 2021-11-04 14:39:59 +08:00
WangJiaZhen c9d464c360 [Improve] improve checkpoint loading log (#1446) 2021-11-03 20:42:45 +08:00
Zaida Zhou fd6eab697d
[Docs] Add mmcv itself in the docs list (#1441)
* Add mmcv itself in the docs list

* modify link of docs
2021-11-02 20:59:26 +08:00
Tong Gao c522b47e6a
fix the wrong function reference bug in BaseTransformerLayer when batch_first is True (#1418) 2021-11-02 20:57:50 +08:00
q.yao 426e229d88
[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>
2021-11-02 20:50:50 +08:00
Zaida Zhou f9be3bc333
bump version to v1.3.16 (#1430) 2021-10-24 14:27:09 +08:00
Zaida Zhou 32e09f4933
[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
2021-10-24 14:26:52 +08:00
Wenwei Zhang ef02219679
Add CI for pytorch 1.10 (#1431) 2021-10-24 13:32:31 +08:00
Zaida Zhou 5b5b47fc87
[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
2021-10-23 20:51:44 +08:00
pc 2d73eafec2
add mmdet3d op (#1425)
Co-authored-by: zhouzaida <zhouzaida@163.com>
2021-10-23 14:18:56 +08:00
dingchang 75cae78c55
[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>
2021-10-23 14:01:31 +08:00
q.yao 6935a818ec
[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>
2021-10-22 21:18:19 +08:00
dingchang 2157b708fb
[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>
2021-10-22 10:46:55 +08:00
dingchang 4c8bfb48ef
[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>
2021-10-21 20:00:04 +08:00
dingchang e3e1dba2c8
[Feature] Add voxel ops from mmdet3d (#1381)
* add ops (voxel) in mmdet3d

* add ops (voxel) in mmdet3d

* add ops (voxel) in mmdet3d

* refactor code

* update test

* update test

* update test

* refactor code

* refactor code

* refactor code

* fix typo

* fix typo
2021-10-21 11:08:11 +08:00