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
wangsen
paddle_dbnet
Commits
ff625872
Commit
ff625872
authored
Jan 19, 2022
by
LDOUBLEV
Browse files
opt train log
parent
f32f31bf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
test_tipc/configs/det_mv3_db_v2.0/train_benchmark.txt
test_tipc/configs/det_mv3_db_v2.0/train_benchmark.txt
+4
-0
test_tipc/test_train_inference_python.sh
test_tipc/test_train_inference_python.sh
+2
-2
No files found.
test_tipc/configs/det_mv3_db_v2.0/train_benchmark.txt
View file @
ff625872
...
...
@@ -24,3 +24,7 @@ null:null
eval:null
null:null
##
===========================infer_params===========================
Global.save_inference_dir:./output/
Global.checkpoints:
norm_export:null
test_tipc/test_train_inference_python.sh
View file @
ff625872
...
...
@@ -323,14 +323,14 @@ else
set_train_params1
=
$(
func_set_params
"
${
train_param_key1
}
"
"
${
train_param_value1
}
"
)
set_use_gpu
=
$(
func_set_params
"
${
train_use_gpu_key
}
"
"
${
train_use_gpu
}
"
)
if
[
${#
ips
}
-le
26
]
;
then
save_log
=
"
${
LOG_PATH
}
/
${
trainer
}
_gpus_
${
gpu
}
_autocast_
${
autocast
}
"
save_log
=
"
${
LOG_PATH
}
/
${
model_name
}
_gpus_
${
gpu
}
_autocast_
${
autocast
}
_bs_
${
train_batch_value
}
_sp
"
nodes
=
1
else
IFS
=
","
ips_array
=(
${
ips
}
)
IFS
=
"|"
nodes
=
${#
ips_array
[@]
}
save_log
=
"
${
LOG_PATH
}
/
${
trainer
}
_gpus_
${
gpu
}
_autocast_
${
autocast
}
_
nodes_
${
nodes
}
"
save_log
=
"
${
LOG_PATH
}
/
${
model_name
}
_gpus_
${
gpu
}
_autocast_
${
autocast
}
_
bs_
${
train_batch_value
}
_mp
"
fi
...
...
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