Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modify pretrained model link #2441

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions paddlex/configs/anomaly_detection/STFPM.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Train:
num_classes: 1
batch_size: 1
learning_rate: 0.4
pretrain_weight_path: null
pretrain_weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/STFPM_pretrained.pdparams
warmup_steps: 100
resume_path: null
log_interval: 10
Expand All @@ -38,4 +38,4 @@ Predict:


Export:
weight_path: https://paddleseg.bj.bcebos.com/dygraph/mvtec_ad/stfpm/stfpm.pdparams
weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/STFPM_pretrained.pdparams
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Train:
epochs_iters: 50
batch_size: 16
learning_rate: 0.08
pretrain_weight_path: null
pretrain_weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/PP-LCNet_x1_0_doc_ori_pretrained.pdparams
warmup_steps: 100
resume_path: null
log_interval: 10
Expand All @@ -31,7 +31,7 @@ Evaluate:
log_interval: 10

Export:
weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/PPLCNet_x1_0_docori_pretrained.pdparams
weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/PP-LCNet_x1_0_doc_ori_pretrained.pdparams

Predict:
batch_size: 1
Expand Down
4 changes: 2 additions & 2 deletions paddlex/configs/face_detection/BlazeFace-FPN-SSH.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Train:
epochs_iters: 50
batch_size: 4
learning_rate: 0.001
pretrain_weight_path: null
pretrain_weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/BlazeFace-FPN-SSH_pretrained.pdparams
warmup_steps: 500
resume_path: null
log_interval: 10
Expand All @@ -30,7 +30,7 @@ Evaluate:
log_interval: 10

Export:
weight_path: https://paddledet.bj.bcebos.com/models/blazeface_fpn_ssh_1000e.pdparams
weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/BlazeFace-FPN-SSH_pretrained.pdparams

Predict:
batch_size: 1
Expand Down
4 changes: 2 additions & 2 deletions paddlex/configs/face_detection/BlazeFace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Train:
epochs_iters: 50
batch_size: 4
learning_rate: 0.001
pretrain_weight_path: null
pretrain_weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/BlazeFace_pretrained.pdparams
warmup_steps: 500
resume_path: null
log_interval: 10
Expand All @@ -30,7 +30,7 @@ Evaluate:
log_interval: 10

Export:
weight_path: https://paddledet.bj.bcebos.com/models/blazeface_1000e.pdparams
weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/BlazeFace_pretrained.pdparams

Predict:
batch_size: 1
Expand Down
4 changes: 2 additions & 2 deletions paddlex/configs/face_detection/PP-YOLOE_plus-S_face.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Train:
epochs_iters: 50
batch_size: 4
learning_rate: 0.0001
pretrain_weight_path: null
pretrain_weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/PP-YOLOE_plus-S_face_pretrained.pdparams
warmup_steps: 100
resume_path: null
log_interval: 10
Expand All @@ -30,7 +30,7 @@ Evaluate:
log_interval: 10

Export:
weight_path: https://paddledet.bj.bcebos.com/models/ppyoloe_plus-s_face.pdparams
weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/PP-YOLOE_plus-S_face_pretrained.pdparams

Predict:
batch_size: 1
Expand Down
4 changes: 2 additions & 2 deletions paddlex/configs/face_detection/PicoDet_LCNet_x2_5_face.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Train:
epochs_iters: 50
batch_size: 4
learning_rate: 0.08
pretrain_weight_path: null
pretrain_weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/PicoDet_LCNet_x2_5_face_pretrained.pdparams
warmup_steps: 100
resume_path: null
log_interval: 10
Expand All @@ -30,7 +30,7 @@ Evaluate:
log_interval: 10

Export:
weight_path: https://paddledet.bj.bcebos.com/models/PicoDet_LCNet_x2_5_face_pretrain.pdparams
weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/PicoDet_LCNet_x2_5_face_pretrained.pdparams

Predict:
batch_size: 1
Expand Down
4 changes: 2 additions & 2 deletions paddlex/configs/face_recognition/MobileFaceNet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Train:
epochs_iters: 25
batch_size: 128
learning_rate: 0.002
pretrain_weight_path: null
pretrain_weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/MobileFaceNet_pretrained.pdparams
warmup_steps: 1
resume_path: null
log_interval: 1
Expand All @@ -31,7 +31,7 @@ Evaluate:
log_interval: 1

Export:
weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/foundation_models/mobilefacenet.pdparams
weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/MobileFaceNet_pretrained.pdparams

Predict:
batch_size: 1
Expand Down
4 changes: 2 additions & 2 deletions paddlex/configs/face_recognition/ResNet50_face.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Train:
epochs_iters: 25
batch_size: 64
learning_rate: 0.004
pretrain_weight_path: null
pretrain_weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/ResNet50_face_pretrained.pdparams
warmup_steps: 1
resume_path: null
log_interval: 1
Expand All @@ -31,7 +31,7 @@ Evaluate:
log_interval: 1

Export:
weight_path: "https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/foundation_models/resnet50_face.pdparams"
weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/ResNet50_face_pretrained.pdparams

Predict:
batch_size: 1
Expand Down
4 changes: 2 additions & 2 deletions paddlex/configs/formula_recognition/LaTeX_OCR_rec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Train:
batch_size_train: 30
batch_size_val: 10
learning_rate: 0.0001
pretrain_weight_path: null
pretrain_weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/LaTeX_OCR_rec_pretrained.pdparams
resume_path: null
log_interval: 20
eval_interval: 1
Expand All @@ -30,7 +30,7 @@ Evaluate:
log_interval: 1

Export:
weight_path: https://paddle-model-ecology.bj.bcebos.com/pretrained/rec_latex_ocr_trained.pdparams
weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/LaTeX_OCR_rec_pretrained.pdparams

Predict:
batch_size: 1
Expand Down
4 changes: 2 additions & 2 deletions paddlex/configs/general_recognition/PP-ShiTuV2_rec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Train:
epochs_iters: 20
batch_size: 128
learning_rate: 0.01
pretrain_weight_path: https://paddleclas.bj.bcebos.com/models/PP-ShiTu/PP-ShiTuV2_rec_pretrained.pdparams
pretrain_weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/PP-ShiTuV2_rec_pretrained.pdparams
warmup_steps: 5
resume_path: null
log_interval: 1
Expand All @@ -32,7 +32,7 @@ Evaluate:
log_interval: 1

Export:
weight_path: https://paddleclas.bj.bcebos.com/models/PP-ShiTu/PP-ShiTuV2_rec_pretrained.pdparams
weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/PP-ShiTuV2_rec_pretrained.pdparams

Predict:
batch_size: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Train:
epochs_iters: 20
batch_size: 32
learning_rate: 0.001
pretrain_weight_path: https://paddleclas.bj.bcebos.com/models/PP-ShiTu/PP-ShiTuV2_rec_CLIP_vit_base_pretrained.pdparams
pretrain_weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/PP-ShiTuV2_rec_CLIP_vit_base_pretrained.pdparams
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个预训练需要换成CLIP的预训练,当然这里可以加一个注释的一行,写上这个预训练

warmup_steps: 5
resume_path: null
log_interval: 1
Expand All @@ -32,7 +32,7 @@ Evaluate:
log_interval: 1

Export:
weight_path: https://paddleclas.bj.bcebos.com/models/PP-ShiTu/PP-ShiTuV2_rec_CLIP_vit_base_pretrained.pdparams
weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/PP-ShiTuV2_rec_CLIP_vit_base_pretrained.pdparams

Predict:
batch_size: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Train:
epochs_iters: 20
batch_size: 32
learning_rate: 0.001
pretrain_weight_path: https://paddleclas.bj.bcebos.com/models/PP-ShiTu/PP-ShiTuV2_rec_CLIP_vit_large_pretrained.pdparams
pretrain_weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/PP-ShiTuV2_rec_CLIP_vit_large_pretrained.pdparams
warmup_steps: 5
resume_path: null
log_interval: 1
Expand All @@ -32,7 +32,7 @@ Evaluate:
log_interval: 1

Export:
weight_path: https://paddleclas.bj.bcebos.com/models/PP-ShiTu/PP-ShiTuV2_rec_CLIP_vit_large_pretrained.pdparams
weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/PP-ShiTuV2_rec_CLIP_vit_large_pretrained.pdparams
Predict:
batch_size: 1
model_dir: "output/best_model/inference"
Expand Down
4 changes: 2 additions & 2 deletions paddlex/configs/human_detection/PP-YOLOE-L_human.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Train:
epochs_iters: 50
batch_size: 2
learning_rate: 0.001
pretrain_weight_path: null
pretrain_weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/PP-YOLOE-L_human_pretrained.pdparams
warmup_steps: 100
resume_path: null
log_interval: 10
Expand All @@ -39,4 +39,4 @@ Predict:


Export:
weight_path: https://paddledet.bj.bcebos.com/models/ppyoloe_crn_l_36e_crowdhuman.pdparams
weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/PP-YOLOE-L_human_pretrained.pdparams
4 changes: 2 additions & 2 deletions paddlex/configs/human_detection/PP-YOLOE-S_human.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Train:
epochs_iters: 50
batch_size: 2
learning_rate: 0.001
pretrain_weight_path: null
pretrain_weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/PP-YOLOE-S_human_pretrained.pdparams
warmup_steps: 100
resume_path: null
log_interval: 10
Expand All @@ -39,4 +39,4 @@ Predict:


Export:
weight_path: https://paddledet.bj.bcebos.com/models/ppyoloe_crn_s_36e_crowdhuman.pdparams
weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/PP-YOLOE-S_human_pretrained.pdparams
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Train:
epochs_iters: 20
batch_size: 64
learning_rate: 0.0003
pretrain_weight_path: null
pretrain_weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/CLIP_vit_base_patch16_224_pretrained.pdparams
warmup_steps: 5
resume_path: null
log_interval: 1
Expand All @@ -31,7 +31,7 @@ Evaluate:
log_interval: 1

Export:
weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/foundation_models/CLIP_vit_base_patch16_224_ft_in1k_pretrained.pdparams
weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/CLIP_vit_base_patch16_224_pretrained.pdparams

Predict:
batch_size: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Train:
epochs_iters: 20
batch_size: 32
learning_rate: 0.0003
pretrain_weight_path: null
pretrain_weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/CLIP_vit_large_patch14_224_pretrained.pdparams
warmup_steps: 5
resume_path: null
log_interval: 1
Expand All @@ -31,7 +31,7 @@ Evaluate:
log_interval: 1

Export:
weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/foundation_models/CLIP_vit_large_patch14_224_ft_in1k_pretrained.pdparams
weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/CLIP_vit_large_patch14_224_pretrained.pdparams

Predict:
batch_size: 1
Expand Down
4 changes: 2 additions & 2 deletions paddlex/configs/image_classification/ConvNeXt_base_224.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Train:
epochs_iters: 20
batch_size: 32
learning_rate: 0.002
pretrain_weight_path: null
pretrain_weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/ConvNeXt_base_224_pretrained.pdparams
warmup_steps: 5
resume_path: null
log_interval: 1
Expand All @@ -31,7 +31,7 @@ Evaluate:
log_interval: 1

Export:
weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/ConvNeXt_base_224_pretrained.pdparams
weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/ConvNeXt_base_224_pretrained.pdparams

Predict:
batch_size: 1
Expand Down
4 changes: 2 additions & 2 deletions paddlex/configs/image_classification/ConvNeXt_base_384.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Train:
epochs_iters: 20
batch_size: 32
learning_rate: 0.002
pretrain_weight_path: null
pretrain_weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/ConvNeXt_base_384_pretrained.pdparams
warmup_steps: 5
resume_path: null
log_interval: 1
Expand All @@ -31,7 +31,7 @@ Evaluate:
log_interval: 1

Export:
weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/ConvNeXt_base_384_pretrained.pdparams
weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/ConvNeXt_base_384_pretrained.pdparams

Predict:
batch_size: 1
Expand Down
4 changes: 2 additions & 2 deletions paddlex/configs/image_classification/ConvNeXt_large_224.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Train:
epochs_iters: 20
batch_size: 16
learning_rate: 0.001
pretrain_weight_path: null
pretrain_weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/ConvNeXt_large_224_pretrained.pdparams
warmup_steps: 5
resume_path: null
log_interval: 1
Expand All @@ -31,7 +31,7 @@ Evaluate:
log_interval: 1

Export:
weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/ConvNeXt_large_224_pretrained.pdparams
weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/ConvNeXt_large_224_pretrained.pdparams

Predict:
batch_size: 1
Expand Down
4 changes: 2 additions & 2 deletions paddlex/configs/image_classification/ConvNeXt_large_384.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Train:
epochs_iters: 20
batch_size: 16
learning_rate: 0.001
pretrain_weight_path: null
pretrain_weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/ConvNeXt_large_384_pretrained.pdparams
warmup_steps: 5
resume_path: null
log_interval: 1
Expand All @@ -31,7 +31,7 @@ Evaluate:
log_interval: 1

Export:
weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/ConvNeXt_large_384_pretrained.pdparams
weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/ConvNeXt_large_384_pretrained.pdparams

Predict:
batch_size: 1
Expand Down
4 changes: 2 additions & 2 deletions paddlex/configs/image_classification/ConvNeXt_small.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Train:
epochs_iters: 20
batch_size: 64
learning_rate: 0.004
pretrain_weight_path: null
pretrain_weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/ConvNeXt_small_pretrained.pdparams
warmup_steps: 5
resume_path: null
log_interval: 1
Expand All @@ -31,7 +31,7 @@ Evaluate:
log_interval: 1

Export:
weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/ConvNeXt_small_pretrained.pdparams
weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/ConvNeXt_small_pretrained.pdparams

Predict:
batch_size: 1
Expand Down
4 changes: 2 additions & 2 deletions paddlex/configs/image_classification/ConvNeXt_tiny.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Train:
epochs_iters: 20
batch_size: 32
learning_rate: 0.003
pretrain_weight_path: null
pretrain_weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/ConvNeXt_tiny_pretrained.pdparams
warmup_steps: 5
resume_path: null
log_interval: 1
Expand All @@ -31,7 +31,7 @@ Evaluate:
log_interval: 1

Export:
weight_path: https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/ConvNeXt_tiny_pretrained.pdparams
weight_path: https://paddle-model-ecology.bj.bcebos.com/paddlex/official_pretrained_model/ConvNeXt_tiny_pretrained.pdparams

Predict:
batch_size: 1
Expand Down
Loading