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
29a096e2
"PyTorch/git@developer.sourcefind.cn:dcuai/dlexamples.git" did not exist on "0200794c1372dd29d9c8a4b6b5ac2fabd6f0b543"
Commit
29a096e2
authored
Jan 25, 2022
by
LDOUBLEV
Browse files
add echo and set null
parent
985adb56
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
test_tipc/benchmark_train.sh
test_tipc/benchmark_train.sh
+2
-1
No files found.
test_tipc/benchmark_train.sh
View file @
29a096e2
...
@@ -147,8 +147,9 @@ else
...
@@ -147,8 +147,9 @@ else
mkdir
-p
$log_path
mkdir
-p
$log_path
log_name
=
"
${
repo_name
}
_
${
model_name
}
_bs
${
batch_size
}
_
${
precision
}
_
${
run_process_type
}
_
${
run_mode
}
_
${
device_num
}
_log"
log_name
=
"
${
repo_name
}
_
${
model_name
}
_bs
${
batch_size
}
_
${
precision
}
_
${
run_process_type
}
_
${
run_mode
}
_
${
device_num
}
_log"
func_sed_params
"
$FILENAME
"
"4"
"
$gpu_id
"
# sed used gpu_id
func_sed_params
"
$FILENAME
"
"4"
"
$gpu_id
"
# sed used gpu_id
func_sed_params
"
$FILENAME
"
"13"
"
$
null
"
# sed --profile_option as null
func_sed_params
"
$FILENAME
"
"13"
"null"
# sed --profile_option as null
cmd
=
"bash test_tipc/test_train_inference_python.sh
${
FILENAME
}
benchmark_train >
${
log_path
}
/
${
log_name
}
2>&1 "
cmd
=
"bash test_tipc/test_train_inference_python.sh
${
FILENAME
}
benchmark_train >
${
log_path
}
/
${
log_name
}
2>&1 "
echo
$cmd
eval
$cmd
eval
$cmd
eval
"cat
${
log_path
}
/
${
log_name
}
"
eval
"cat
${
log_path
}
/
${
log_name
}
"
fi
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