Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleClas
提交
c7a6fdda
P
PaddleClas
项目概览
PaddlePaddle
/
PaddleClas
大约 1 年 前同步成功
通知
115
Star
4999
Fork
1114
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
19
列表
看板
标记
里程碑
合并请求
6
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleClas
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
19
Issue
19
列表
看板
标记
里程碑
合并请求
6
合并请求
6
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
c7a6fdda
编写于
4月 27, 2022
作者:
G
gaotingquan
提交者:
Tingquan Gao
4月 29, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix
上级
24372cc6
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
11 addition
and
11 deletion
+11
-11
test_tipc/config/CSWinTransformer/CSWinTransformer_tiny_224_train_infer_python.txt
...nsformer/CSWinTransformer_tiny_224_train_infer_python.txt
+2
-2
test_tipc/config/MobileViT/MobileViT_S_train_infer_python.txt
..._tipc/config/MobileViT/MobileViT_S_train_infer_python.txt
+2
-2
test_tipc/config/PVTV2/PVT_V2_B2_Linear_train_infer_python.txt
...tipc/config/PVTV2/PVT_V2_B2_Linear_train_infer_python.txt
+1
-1
test_tipc/prepare.sh
test_tipc/prepare.sh
+6
-6
未找到文件。
test_tipc/config/CSWinTransformer/CSWinTransformer_tiny_224_train_infer_python.txt
浏览文件 @
c7a6fdda
...
@@ -13,14 +13,14 @@ train_infer_img_dir:./dataset/ILSVRC2012/val
...
@@ -13,14 +13,14 @@ train_infer_img_dir:./dataset/ILSVRC2012/val
null:null
null:null
##
##
trainer:norm_train
trainer:norm_train
norm_train:tools/train.py -c ppcls/configs/ImageNet/CSWinTransformer/CSWinTransformer_tiny_224.yaml -o Global.seed=1234 -o DataLoader.Train.sampler.shuffle=False -o DataLoader.Train.loader.num_workers=0 -o DataLoader.Train.loader.use_shared_memory=False
norm_train:tools/train.py -c ppcls/configs/ImageNet/CSWinTransformer/CSWinTransformer_tiny_224.yaml -o Global.seed=1234 -o DataLoader.Train.sampler.shuffle=False -o DataLoader.Train.loader.num_workers=0 -o DataLoader.Train.loader.use_shared_memory=False
-o Global.print_batch_step=1
pact_train:null
pact_train:null
fpgm_train:null
fpgm_train:null
distill_train:null
distill_train:null
null:null
null:null
null:null
null:null
##
##
===========================eval_params===========================
===========================eval_params===========================
eval:tools/eval.py -c ppcls/configs/ImageNet/CSWinTransformer/CSWinTransformer_tiny_224.yaml
eval:tools/eval.py -c ppcls/configs/ImageNet/CSWinTransformer/CSWinTransformer_tiny_224.yaml
null:null
null:null
##
##
...
...
test_tipc/config/MobileViT/MobileViT_S_train_infer_python.txt
浏览文件 @
c7a6fdda
...
@@ -13,14 +13,14 @@ train_infer_img_dir:./dataset/ILSVRC2012/val
...
@@ -13,14 +13,14 @@ train_infer_img_dir:./dataset/ILSVRC2012/val
null:null
null:null
##
##
trainer:norm_train
trainer:norm_train
norm_train:tools/train.py -c ppcls/configs/ImageNet/MobileViT/MobileViT_S.yaml -o Global.seed=1234 -o DataLoader.Train.sampler.shuffle=False -o DataLoader.Train.loader.num_workers=0 -o DataLoader.Train.loader.use_shared_memory=False
norm_train:tools/train.py -c ppcls/configs/ImageNet/MobileViT/MobileViT_S.yaml -o Global.seed=1234 -o DataLoader.Train.sampler.shuffle=False -o DataLoader.Train.loader.num_workers=0 -o DataLoader.Train.loader.use_shared_memory=False
-o Global.print_batch_step=1
pact_train:null
pact_train:null
fpgm_train:null
fpgm_train:null
distill_train:null
distill_train:null
null:null
null:null
null:null
null:null
##
##
===========================eval_params===========================
===========================eval_params===========================
eval:tools/eval.py -c ppcls/configs/ImageNet/MobileViT/MobileViT_S.yaml
eval:tools/eval.py -c ppcls/configs/ImageNet/MobileViT/MobileViT_S.yaml
null:null
null:null
##
##
...
...
test_tipc/config/PVTV2/PVT_V2_B2_Linear_train_infer_python.txt
浏览文件 @
c7a6fdda
...
@@ -13,7 +13,7 @@ train_infer_img_dir:./dataset/ILSVRC2012/val
...
@@ -13,7 +13,7 @@ train_infer_img_dir:./dataset/ILSVRC2012/val
null:null
null:null
##
##
trainer:norm_train
trainer:norm_train
norm_train:tools/train.py -c ppcls/configs/ImageNet/PVTV2/PVT_V2_B2_Linear.yaml -o Global.seed=1234 -o DataLoader.Train.sampler.shuffle=False -o DataLoader.Train.loader.num_workers=0 -o DataLoader.Train.loader.use_shared_memory=False
norm_train:tools/train.py -c ppcls/configs/ImageNet/PVTV2/PVT_V2_B2_Linear.yaml -o Global.seed=1234 -o DataLoader.Train.sampler.shuffle=False -o DataLoader.Train.loader.num_workers=0 -o DataLoader.Train.loader.use_shared_memory=False
-o Global.print_batch_step=1
pact_train:null
pact_train:null
fpgm_train:null
fpgm_train:null
distill_train:null
distill_train:null
...
...
test_tipc/prepare.sh
浏览文件 @
c7a6fdda
#!/bin/bash
#!/bin/bash
FILENAME
=
$1
FILENAME
=
$1
# MODE be one of ['lite_train_lite_infer' 'lite_train_whole_infer' 'whole_train_whole_infer',
# MODE be one of ['lite_train_lite_infer' 'lite_train_whole_infer' 'whole_train_whole_infer',
# 'whole_infer', 'klquant_whole_infer',
# 'whole_infer', 'klquant_whole_infer',
# 'cpp_infer', 'serving_infer', 'lite_infer']
# 'cpp_infer', 'serving_infer', 'lite_infer']
...
@@ -67,9 +67,9 @@ if [ ${MODE} = "cpp_infer" ];then
...
@@ -67,9 +67,9 @@ if [ ${MODE} = "cpp_infer" ];then
model_dir
=
${
tar_name
%.*
}
model_dir
=
${
tar_name
%.*
}
eval
"tar xf
${
tar_name
}
"
eval
"tar xf
${
tar_name
}
"
eval
"mv
${
model_dir
}
${
cls_inference_model_dir
}
"
eval
"mv
${
model_dir
}
${
cls_inference_model_dir
}
"
eval
"wget -nc
$det_inference_url
"
eval
"wget -nc
$det_inference_url
"
tar_name
=
$(
func_get_url_file_name
"
$det_inference_url
"
)
tar_name
=
$(
func_get_url_file_name
"
$det_inference_url
"
)
model_dir
=
${
tar_name
%.*
}
model_dir
=
${
tar_name
%.*
}
eval
"tar xf
${
tar_name
}
"
eval
"tar xf
${
tar_name
}
"
eval
"mv
${
model_dir
}
${
det_inference_model_dir
}
"
eval
"mv
${
model_dir
}
${
det_inference_model_dir
}
"
...
@@ -120,7 +120,7 @@ if [ ${MODE} = "lite_train_lite_infer" ] || [ ${MODE} = "lite_train_whole_infer"
...
@@ -120,7 +120,7 @@ if [ ${MODE} = "lite_train_lite_infer" ] || [ ${MODE} = "lite_train_whole_infer"
wget
-nc
https://paddle-imagenet-models-name.bj.bcebos.com/data/whole_chain/whole_chain_little_train.tar
wget
-nc
https://paddle-imagenet-models-name.bj.bcebos.com/data/whole_chain/whole_chain_little_train.tar
tar
xf whole_chain_little_train.tar
tar
xf whole_chain_little_train.tar
ln
-s
whole_chain_little_train ILSVRC2012
ln
-s
whole_chain_little_train ILSVRC2012
cd
ILSVRC2012
cd
ILSVRC2012
mv
train.txt train_list.txt
mv
train.txt train_list.txt
mv
val.txt val_list.txt
mv
val.txt val_list.txt
cp
-r
train/
*
val/
cp
-r
train/
*
val/
...
@@ -132,7 +132,7 @@ elif [ ${MODE} = "whole_infer" ] || [ ${MODE} = "klquant_whole_infer" ];then
...
@@ -132,7 +132,7 @@ elif [ ${MODE} = "whole_infer" ] || [ ${MODE} = "klquant_whole_infer" ];then
wget
-nc
https://paddle-imagenet-models-name.bj.bcebos.com/data/whole_chain/whole_chain_infer.tar
wget
-nc
https://paddle-imagenet-models-name.bj.bcebos.com/data/whole_chain/whole_chain_infer.tar
tar
xf whole_chain_infer.tar
tar
xf whole_chain_infer.tar
ln
-s
whole_chain_infer ILSVRC2012
ln
-s
whole_chain_infer ILSVRC2012
cd
ILSVRC2012
cd
ILSVRC2012
mv
val.txt val_list.txt
mv
val.txt val_list.txt
ln
-s
val_list.txt train_list.txt
ln
-s
val_list.txt train_list.txt
cd
../../
cd
../../
...
@@ -153,7 +153,7 @@ elif [ ${MODE} = "whole_train_whole_infer" ];then
...
@@ -153,7 +153,7 @@ elif [ ${MODE} = "whole_train_whole_infer" ];then
wget
-nc
https://paddle-imagenet-models-name.bj.bcebos.com/data/whole_chain/whole_chain_CIFAR100.tar
wget
-nc
https://paddle-imagenet-models-name.bj.bcebos.com/data/whole_chain/whole_chain_CIFAR100.tar
tar
xf whole_chain_CIFAR100.tar
tar
xf whole_chain_CIFAR100.tar
ln
-s
whole_chain_CIFAR100 ILSVRC2012
ln
-s
whole_chain_CIFAR100 ILSVRC2012
cd
ILSVRC2012
cd
ILSVRC2012
mv
train.txt train_list.txt
mv
train.txt train_list.txt
mv
test.txt val_list.txt
mv
test.txt val_list.txt
cd
../../
cd
../../
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录