Skip to content

Commit cc3842a

Browse files
authored
MMScan devkit (#88)
* mmscan-devkit v1 * mmscan-devkit v1 * mmscan-devkit first version * mmscan-devkit first version * mmscan-devkit first version * mmscan-devkit v1 * mmscan-devkit v1 * mmscan-devkit v1 * mmscan-devkit v1 * mmscan-devkit v1 * edit README.md * mmscan-devkit * mmscan-devkit * mmscan-devkit * fix some typos * fix some typos * fix some typos * add picture
1 parent 89aca6f commit cc3842a

File tree

463 files changed

+120338
-1006
lines changed

Some content is hidden

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

463 files changed

+120338
-1006
lines changed

.dev_scripts/covignore.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
# .*/utils.py
55

66
.*/__init__.py
7+
models/

.dev_scripts/diff_coverage_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ done
3535
if [ ! -z "${PY_FILES}" ]
3636
then
3737
if [ "$REUSE_COVERAGE_REPORT" == "0" ]; then
38-
coverage run --branch --source embodiedscan -m pytest tests/
38+
coverage run --branch --source mmscan -m pytest tests/
3939
fi
4040
coverage report --fail-under 80 -m $PY_FILES
4141
interrogate -v --ignore-init-method --ignore-module --ignore-nested-functions --ignore-magic --ignore-regex "__repr__" --fail-under 95 $PY_FILES

.dev_scripts/linter.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
yapf -r -i embodiedscan/ configs/ tests/ tools/
2-
isort embodiedscan/ configs/ tests/ tools/
1+
yapf -r -i mmscan/ data_preparation/
2+
isort mmscan/ data_preparation/
33
flake8 .

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ jobs:
2424
- name: Check docstring coverage
2525
run: |
2626
pip install interrogate
27-
interrogate -v --ignore-init-method --ignore-magic --ignore-module --ignore-nested-functions --ignore-regex "__repr__" --fail-under 90 embodiedscan
27+
interrogate -v --ignore-init-method --ignore-magic --ignore-module --ignore-nested-functions --ignore-regex "__repr__" --fail-under 90 mmscan

.github/workflows/merge_stage_test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub
3939
- name: Install system dependencies
4040
run: apt-get update && apt-get install -y git ffmpeg libturbojpeg
41-
- name: Install dependencies and EmbodiedScan
41+
- name: Install dependencies and MMScan
4242
run: python install.py all
4343
- name: Run unittests and generate coverage report
4444
run: |
45-
coverage run --branch --source embodiedscan -m pytest tests
45+
coverage run --branch --source mmscan -m pytest tests
4646
coverage xml
4747
coverage report -m
4848
@@ -67,10 +67,10 @@ jobs:
6767
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub
6868
- name: Install system dependencies
6969
run: apt-get update && apt-get install -y git ffmpeg libturbojpeg
70-
- name: Install dependencies and EmbodiedScan
70+
- name: Install dependencies and MMScan
7171
run: python install.py all
7272
- name: Run unittests and generate coverage report
7373
run: |
74-
coverage run --branch --source embodiedscan -m pytest tests
74+
coverage run --branch --source mmscan -m pytest tests
7575
coverage xml
7676
coverage report -m

.github/workflows/pr_stage_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ jobs:
3434
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub
3535
- name: Install system dependencies
3636
run: apt-get update && apt-get install -y ffmpeg libsm6 libxext6 git ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6
37-
- name: Install dependencies and EmbodiedScan
37+
- name: Install dependencies and MMScan
3838
run: python install.py all
3939
- name: Run unittests and generate coverage report
4040
run: |
41-
coverage run --branch --source embodiedscan -m pytest tests/
41+
coverage run --branch --source mmscan -m pytest tests/
4242
coverage xml
4343
coverage report -m

.github/workflows/test_mim.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ jobs:
4141
- name: Build and install
4242
run: rm -rf .eggs && mim install -e .
4343
- name: test commands of mim
44-
run: mim search embodiedscan
44+
run: mim search mmscan

.gitignore

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ dist/
1414
downloads/
1515
eggs/
1616
.eggs/
17-
lib/
18-
lib64/
17+
1918
parts/
2019
sdist/
2120
var/
@@ -113,7 +112,6 @@ venv.bak/
113112

114113
# demo
115114
*.jpg
116-
*.png
117115
*.obj
118116
*.ply
119117
demo/data/*
@@ -127,7 +125,7 @@ data/3rscan
127125
data/matterport3d
128126
data/arkitscenes
129127
data/*.pkl
130-
data/*.json
128+
131129
exps/
132130
todo.md
133131

@@ -140,4 +138,3 @@ tools/*.sh
140138

141139
# test submission results
142140
*.pkl
143-
*.json

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ repos:
33
rev: 5.0.4
44
hooks:
55
- id: flake8
6+
exclude: '^models/.*'
7+
# - repo: https://github.com/ambv/black
8+
# rev: 23.9.1
9+
# hooks:
10+
# - id: black
11+
# args: [--line-length=79]
12+
# exclude: '^models/.*'
613
- repo: https://github.com/PyCQA/isort
714
rev: 5.11.5
815
hooks:

README.md

Lines changed: 216 additions & 237 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)