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
7b3a4bcc
Commit
7b3a4bcc
authored
Apr 01, 2022
by
LDOUBLEV
Browse files
fix pretrain download
parent
69269c16
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
test_tipc/prepare.sh
test_tipc/prepare.sh
+3
-3
No files found.
test_tipc/prepare.sh
View file @
7b3a4bcc
...
@@ -60,9 +60,9 @@ if [ ${MODE} = "lite_train_lite_infer" ];then
...
@@ -60,9 +60,9 @@ if [ ${MODE} = "lite_train_lite_infer" ];then
ln
-s
./icdar2015_lite ./icdar2015
ln
-s
./icdar2015_lite ./icdar2015
cd
../
cd
../
cd
./inference
&&
tar
xf rec_inference.tar
&&
cd
../
cd
./inference
&&
tar
xf rec_inference.tar
&&
cd
../
if
[
${
model_name
}
==
"ch_PPOCRv2_det"
]
;
then
if
[
${
model_name
}
==
"ch_PPOCRv2_det"
]
||
[
${
model_name
}
==
"ch_PPOCRv2_det_PACT"
]
;
then
wget
-nc
-P
./pretrain_models/ https://paddleocr.bj.bcebos.com/dygraph_v2.0/ch/ch_ppocr_
mobile
_v2.0_det_train.tar
--no-check-certificate
wget
-nc
-P
./pretrain_models/ https://paddleocr.bj.bcebos.com/dygraph_v2.0/ch/ch_ppocr_
server
_v2.0_det_train.tar
--no-check-certificate
cd
./pretrain_models/
&&
tar
xf ch_ppocr_
mobile
_v2.0_det_train.tar
&&
cd
../
cd
./pretrain_models/
&&
tar
xf ch_ppocr_
server
_v2.0_det_train.tar
&&
cd
../
fi
fi
if
[
${
model_name
}
==
"det_r18_db_v2_0"
]
;
then
if
[
${
model_name
}
==
"det_r18_db_v2_0"
]
;
then
wget
-nc
-P
./pretrain_models/ https://paddleocr.bj.bcebos.com/pretrained/ResNet18_vd_pretrained.pdparams
--no-check-certificate
wget
-nc
-P
./pretrain_models/ https://paddleocr.bj.bcebos.com/pretrained/ResNet18_vd_pretrained.pdparams
--no-check-certificate
...
...
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