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
ModelZoo
CenterFace_pytorch
Commits
3e146496
Commit
3e146496
authored
Nov 16, 2023
by
chenych
Browse files
Modify ROOT_PATH in gen_data.py
parent
a2cb7e19
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
datasets/gen_data.py
datasets/gen_data.py
+3
-1
No files found.
datasets/gen_data.py
View file @
3e146496
...
...
@@ -213,7 +213,9 @@ parser.add_argument('--mode', default='all',
opt
=
parser
.
parse_args
()
if
__name__
==
"__main__"
:
ROOT_PATH
=
'./'
ROOT_PATH
=
os
.
getcwd
()
if
not
os
.
path
.
exists
(
ROOT_PATH
+
"/labels"
):
ROOT_PATH
=
os
.
path
.
join
(
ROOT_PATH
,
"datasets"
)
mode_type
=
opt
.
mode
if
mode_type
==
'all'
:
deal_list
=
[
'train'
,
'val'
]
...
...
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