first commit

This commit is contained in:
YYJ-aaaa 2024-12-30 16:22:49 +08:00
parent 853b2dab07
commit 24245e9d46
3 changed files with 66 additions and 0 deletions

19
config.json Normal file
View File

@ -0,0 +1,19 @@
{
"_name_or_path": "openai/clip-vit-base-patch32",
"attention_dropout": 0.0,
"dropout": 0.0,
"hidden_act": "quick_gelu",
"hidden_size": 768,
"image_size": 224,
"initializer_factor": 1.0,
"initializer_range": 0.02,
"intermediate_size": 3072,
"layer_norm_eps": 1e-05,
"model_type": "clip_vision_model",
"num_attention_heads": 12,
"num_channels": 3,
"num_hidden_layers": 12,
"patch_size": 32,
"projection_dim": 512,
"transformers_version": "4.40.1"
}

BIN
model.onnx (Stored with Git LFS) Normal file

Binary file not shown.

44
preprocessor_config.json Normal file
View File

@ -0,0 +1,44 @@
{
"_valid_processor_keys": [
"images",
"do_resize",
"size",
"resample",
"do_center_crop",
"crop_size",
"do_rescale",
"rescale_factor",
"do_normalize",
"image_mean",
"image_std",
"do_convert_rgb",
"return_tensors",
"data_format",
"input_data_format"
],
"crop_size": {
"height": 224,
"width": 224
},
"do_center_crop": true,
"do_convert_rgb": true,
"do_normalize": true,
"do_rescale": true,
"do_resize": true,
"image_mean": [
0.48145466,
0.4578275,
0.40821073
],
"image_processor_type": "CLIPImageProcessor",
"image_std": [
0.26862954,
0.26130258,
0.27577711
],
"resample": 3,
"rescale_factor": 0.00392156862745098,
"size": {
"shortest_edge": 224
}
}