Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
MMCV
Commits
6e9ce183
Unverified
Commit
6e9ce183
authored
Feb 24, 2022
by
Zaida Zhou
Committed by
GitHub
Feb 24, 2022
Browse files
Add copyright pre-commit-hook (#1742)
* first commit * Add copyright pre-commit-hook
parent
0a8e67f7
Changes
119
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
19 additions
and
0 deletions
+19
-0
tests/test_ops/test_upfirdn2d.py
tests/test_ops/test_upfirdn2d.py
+1
-0
tests/test_ops/test_voxelization.py
tests/test_ops/test_voxelization.py
+1
-0
tests/test_parallel.py
tests/test_parallel.py
+1
-0
tests/test_runner/test_basemodule.py
tests/test_runner/test_basemodule.py
+1
-0
tests/test_runner/test_checkpoint.py
tests/test_runner/test_checkpoint.py
+1
-0
tests/test_runner/test_dist_utils.py
tests/test_runner/test_dist_utils.py
+1
-0
tests/test_runner/test_eval_hook.py
tests/test_runner/test_eval_hook.py
+1
-0
tests/test_runner/test_fp16.py
tests/test_runner/test_fp16.py
+1
-0
tests/test_runner/test_hooks.py
tests/test_runner/test_hooks.py
+1
-0
tests/test_runner/test_optimizer.py
tests/test_runner/test_optimizer.py
+1
-0
tests/test_runner/test_utils.py
tests/test_runner/test_utils.py
+1
-0
tests/test_utils/test_env.py
tests/test_utils/test_env.py
+1
-0
tests/test_utils/test_hub.py
tests/test_utils/test_hub.py
+1
-0
tests/test_utils/test_logging.py
tests/test_utils/test_logging.py
+1
-0
tests/test_utils/test_parrots_jit.py
tests/test_utils/test_parrots_jit.py
+1
-0
tests/test_utils/test_registry.py
tests/test_utils/test_registry.py
+1
-0
tests/test_utils/test_testing.py
tests/test_utils/test_testing.py
+1
-0
tests/test_utils/test_trace.py
tests/test_utils/test_trace.py
+1
-0
tests/test_utils/test_version_utils.py
tests/test_utils/test_version_utils.py
+1
-0
No files found.
tests/test_ops/test_upfirdn2d.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
pytest
import
torch
...
...
tests/test_ops/test_voxelization.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
numpy
as
np
import
pytest
import
torch
...
...
tests/test_parallel.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
from
unittest.mock
import
MagicMock
,
patch
import
pytest
...
...
tests/test_runner/test_basemodule.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
tempfile
import
pytest
...
...
tests/test_runner/test_checkpoint.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
sys
from
collections
import
OrderedDict
from
tempfile
import
TemporaryDirectory
...
...
tests/test_runner/test_dist_utils.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
os
from
unittest.mock
import
patch
...
...
tests/test_runner/test_eval_hook.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
json
import
os.path
as
osp
import
sys
...
...
tests/test_runner/test_fp16.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
numpy
as
np
import
pytest
import
torch
...
...
tests/test_runner/test_hooks.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
"""Tests the hooks with runners.
CommandLine:
...
...
tests/test_runner/test_optimizer.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
sys
import
warnings
from
unittest.mock
import
MagicMock
...
...
tests/test_runner/test_utils.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
os
import
random
...
...
tests/test_utils/test_env.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
sys
import
pytest
...
...
tests/test_utils/test_hub.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
pytest
from
torch.utils
import
model_zoo
...
...
tests/test_utils/test_logging.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
logging
import
os
import
platform
...
...
tests/test_utils/test_parrots_jit.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
pytest
import
torch
...
...
tests/test_utils/test_registry.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
pytest
import
mmcv
...
...
tests/test_utils/test_testing.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
numpy
as
np
import
pytest
...
...
tests/test_utils/test_trace.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
pytest
import
torch
...
...
tests/test_utils/test_version_utils.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
from
unittest.mock
import
patch
import
pytest
...
...
Prev
1
2
3
4
5
6
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment