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
mmdetection3d
Commits
185ec6e8
"vscode:/vscode.git/clone" did not exist on "dac8d012f289e213643c0b5d63350672698a085f"
Commit
185ec6e8
authored
May 05, 2020
by
zhangwenwei
Browse files
Fix logger migration
parent
89bda282
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
7 deletions
+17
-7
mmdet3d/datasets/kitti_dataset.py
mmdet3d/datasets/kitti_dataset.py
+1
-1
mmdet3d/utils/__init__.py
mmdet3d/utils/__init__.py
+4
-3
mmdet3d/utils/logger.py
mmdet3d/utils/logger.py
+9
-0
requirements/runtime.txt
requirements/runtime.txt
+3
-3
No files found.
mmdet3d/datasets/kitti_dataset.py
View file @
185ec6e8
...
@@ -7,9 +7,9 @@ import mmcv
...
@@ -7,9 +7,9 @@ import mmcv
import
numpy
as
np
import
numpy
as
np
import
torch
import
torch
import
torch.utils.data
as
torch_data
import
torch.utils.data
as
torch_data
from
mmcv.utils
import
print_log
from
mmdet.datasets
import
DATASETS
from
mmdet.datasets
import
DATASETS
from
mmdet.utils
import
print_log
from
..core.bbox
import
box_np_ops
from
..core.bbox
import
box_np_ops
from
.pipelines
import
Compose
from
.pipelines
import
Compose
from
.utils
import
remove_dontcare
from
.utils
import
remove_dontcare
...
...
mmdet3d/utils/__init__.py
View file @
185ec6e8
from
mmcv.utils
import
Registry
,
build_from_cfg
from
mmcv.utils
import
Registry
,
build_from_cfg
,
print_log
from
mmdet.utils
import
get_model_complexity_info
,
get_root_logger
,
print_log
from
mmdet.utils
import
get_model_complexity_info
from
.collect_env
import
collect_env
from
.collect_env
import
collect_env
from
.logger
import
get_root_logger
__all__
=
[
__all__
=
[
'Registry'
,
'build_from_cfg'
,
'get_model_complexity_info'
,
'Registry'
,
'build_from_cfg'
,
'get_model_complexity_info'
,
'get_root_logger'
,
'
print_log'
,
'collect_env
'
'get_root_logger'
,
'
collect_env'
,
'print_log
'
]
]
mmdet3d/utils/logger.py
0 → 100644
View file @
185ec6e8
import
logging
from
mmcv.utils
import
get_logger
def
get_root_logger
(
log_file
=
None
,
log_level
=
logging
.
INFO
):
logger
=
get_logger
(
name
=
'mmdet3d'
,
log_file
=
log_file
,
log_level
=
log_level
)
return
logger
requirements/runtime.txt
View file @
185ec6e8
matplotlib
matplotlib
mmcv>=0.
2.15
mmcv>=0.
5.0
numba
>
=0.45.1
numba
=
=0.45.1
numpy
numpy
# need older pillow until torchvision is fixed
# need older pillow until torchvision is fixed
Pillow<=6.2.2
Pillow<=6.2.2
six
six
terminaltables
terminaltables
torch>=1.
1
torch>=1.
3
torchvision
torchvision
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