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
opencompass
Commits
014b24dd
"docs/git@developer.sourcefind.cn:OpenDAS/mmdetection3d.git" did not exist on "bf7e08776f3b303462c25faab9ba43a4d6fa61e8"
Unverified
Commit
014b24dd
authored
Jul 12, 2023
by
Tong Gao
Committed by
GitHub
Jul 12, 2023
Browse files
[Fix] Fix errors caused by MMEngine 0.8.1 (#48)
parent
c8f1d513
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
requirements.txt
requirements.txt
+1
-1
run.py
run.py
+2
-2
No files found.
requirements.txt
View file @
014b24dd
...
@@ -7,7 +7,7 @@ evaluate>=0.3.0
...
@@ -7,7 +7,7 @@ evaluate>=0.3.0
fairscale
fairscale
faiss_gpu
==1.7.2
faiss_gpu
==1.7.2
jieba
jieba
mmengine
>0.8.
0
mmengine
>
=
0.8.
2
nltk
==3.8
nltk
==3.8
numpy
==1.23.4
numpy
==1.23.4
openai
openai
...
...
run.py
View file @
014b24dd
...
@@ -139,7 +139,7 @@ def main():
...
@@ -139,7 +139,7 @@ def main():
# initialize logger
# initialize logger
logger
=
get_logger
(
log_level
=
'DEBUG'
if
args
.
debug
else
'INFO'
)
logger
=
get_logger
(
log_level
=
'DEBUG'
if
args
.
debug
else
'INFO'
)
cfg
=
Config
.
fromfile
(
args
.
config
)
cfg
=
Config
.
fromfile
(
args
.
config
,
format_python_code
=
False
)
if
args
.
work_dir
is
not
None
:
if
args
.
work_dir
is
not
None
:
cfg
[
'work_dir'
]
=
args
.
work_dir
cfg
[
'work_dir'
]
=
args
.
work_dir
else
:
else
:
...
@@ -172,7 +172,7 @@ def main():
...
@@ -172,7 +172,7 @@ def main():
cfg
.
dump
(
output_config_path
)
cfg
.
dump
(
output_config_path
)
# Config is intentally reloaded here to avoid initialized
# Config is intentally reloaded here to avoid initialized
# types cannot be serialized
# types cannot be serialized
cfg
=
Config
.
fromfile
(
output_config_path
)
cfg
=
Config
.
fromfile
(
output_config_path
,
format_python_code
=
False
)
# report to lark bot if specify --lark
# report to lark bot if specify --lark
if
not
args
.
lark
:
if
not
args
.
lark
:
...
...
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