Skip to content

Commit 1688775

Browse files
authored
v0.1.3 (#138)
* fix: Fix reduce_mean and nms. * fix: Fix lint. * feat: Add VIS flag and update transformer related code. * fix: Fix mypy for PyTorch 2.4.0 * feat: Add compute FLOPs flag. * feat: Add fix sized resize, update vis functional and fix test error. * fix: Fix tests. * fix: Update ipynb for test. * feat: Update docs. * fix: Separate to hdf5 script. * feat: Give user freedom to select dist tmp dir. * fix: Fix pylint. * feat: Add pl trainer ddp timeout and separate evaluator callback metircs. * fix: Fix lint. * fix: Fix bbox3d visualizer for corner cases. Update Visualizer callback to support multiple visualizers. * feat: Add grad checking and set wandb id. * fix: Fix function args. * feat: Update CBGS, bbox3D visualization. * feat: Add AspectRationBatchSampler. * feat: Update data loader for multiple datasets; add COCO categories; update bbox visualizer. * feat: Update bbox3d visualizer and evaluator. * feat: Update DLA basemodel. * feat: Disable system tmp for gather cpu. * feat: Fix DLA for DDP and gradient checkpointing. * feat: Separate wandb id and version. * feat: Add dumping 3D boxes npy. * feat: Enable drop last for data loader. * feat: Make sampler of train dataloader configurable. * feat: Update visualization for wandb. * feat: Support wand log image for visualizer callback. * feat: Add hungarian matching. * feat: Enable efficient MultiHeadAttention. * feat: Fix lr scheduler callback for accumulate gradient. * feat: Update trainer global_step. * feat: Update checkpoint for ResNet. * feat: Update scheduler and add control for check unused parameters. * feat: Update sampler for train dataloader. * feat: Update pillow bounding boxes visualization. * fix: Fix typo and update hdf5 backend. * feat: Merge engine and pl. * feat: Refactor Callbacks. * feat: lint. * feat: lint. * feat: Refactor data const. * feat: Update doc. * feat: Update cuda ops link. * feat: Update test. * fix: Fix lint. * fix: Remove scalabel test for detection. * feat: Update version.
1 parent e22fc28 commit 1688775

214 files changed

Lines changed: 2229 additions & 4460 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/dependabot.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: set up python
2020
uses: actions/setup-python@v2
2121
with:
22-
python-version: "3.10"
22+
python-version: "3.11"
2323

2424
- name: install
2525
run: |
@@ -55,11 +55,11 @@ jobs:
5555
python3 -m mypy tests
5656
5757
test:
58-
name: test py${{ matrix.python-version }}
58+
name: test
5959
runs-on: ubuntu-latest
6060
strategy:
6161
matrix:
62-
python-version: ["3.10"]
62+
python-version: ["3.11"]
6363

6464
steps:
6565
- uses: actions/checkout@v2
@@ -89,7 +89,7 @@ jobs:
8989
run: python3 -m coverage run --source=vis4d -m pytest --pyargs tests
9090

9191
- name: test coverage
92-
run: python3 -m coverage report --fail-under=88 -m
92+
run: python3 -m coverage report -m
9393

9494
- name: build
9595
run: python3 -m build

.github/workflows/deploy_doc.yml

Lines changed: 0 additions & 42 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,13 @@ doc/media
6161
# python build
6262
build/
6363
dist/
64-
scalabel.egg-info
64+
vis4d.egg-info
6565

6666
# coverage
6767
.coverage*
6868

6969
# package default workspace
7070
vis4d-workspace
71-
vis4d.egg-info
7271

7372
*.tmp
7473

.gitmodules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[submodule "vis4d-test-data"]
2-
path = tests/vis4d-test-data
3-
url = git@github.com:SysCV/vis4d-test-data.git
2+
path = tests/vis4d-test-data
3+
url = git@github.com:SysCV/vis4d-test-data.git
44
branch = main

.pre-commit-config.yaml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.pylintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,7 @@ max-spelling-suggestions=2
411411

412412
# Maximum number of arguments for function / method
413413
max-args=20
414+
max-positional-arguments=20
414415

415416
# Maximum number of locals for function / method body
416417
max-locals=100

.readthedocs.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ build:
88
python:
99
install:
1010
- requirements: docs/requirements.txt
11+
- requirements: requirements/install.txt
12+
- requirements: requirements/torch-lib.txt
13+
- requirements: requirements/viewer.txt
1114

1215
sphinx:
1316
configuration: docs/source/conf.py

docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ sphinx_autodoc_defaultargs
55
sphinx_autodoc_typehints
66
sphinx_copybutton
77
sphinx_design
8+
sphinx_rtd_theme
89
sphinxcontrib-aafig

docs/source/conf.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
project = "Vis4D"
2626
copyright = "2022, ETH Zurich"
27-
author = "Tobias Fischer"
27+
author = "Vis4D Team"
2828

2929

3030
# -- General configuration ---------------------------------------------------
@@ -94,21 +94,22 @@
9494
"Vis4D Documentation",
9595
author,
9696
"Vis4D",
97-
"Dynamic Scene Understanding in Pytorch.",
97+
"Dynamic Scene Understanding in PyTorch.",
9898
"Miscellaneous",
9999
)
100100
]
101101

102102
# -- auto doc settings -------------------------------------------------------
103103
autosummary_generate = True
104104
autodoc_member_order = "groupwise"
105-
autoclass_content = "both"
105+
# autoclass_content = "both"
106106
add_module_names = False # Remove namespaces from class/method signatures
107+
autodoc_member_order = "bysource"
107108
autodoc_default_options = {
108109
"members": True,
109110
"methods": True,
110111
"special-members": "__call__",
111-
"exclude-members": "_abc_impl,__init__",
112+
"exclude-members": "_abc_impl,__repr__",
112113
}
113114

114115
# -- Napoleon settings -------------------------------------------------------
@@ -117,7 +118,7 @@
117118
# project.
118119
napoleon_google_docstring = True
119120
napoleon_numpy_docstring = False
120-
napoleon_include_init_with_doc = False
121+
napoleon_include_init_with_doc = True
121122
napoleon_include_private_with_doc = False
122123
napoleon_include_special_with_doc = True
123124
napoleon_use_admonition_for_examples = False

0 commit comments

Comments
 (0)