File size: 666 Bytes
2a5ab99
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
  "model_type": "image_feature_extractor_cnn",
  "torch_dtype": "float32",
  "in_channels": 3,
  "image_size": 224,
  "embed_dim": 256,
  "base_channels": 32,
  "num_blocks": 4,
  "dropout": 0.0,
  "pool": "avg",
  "norm": "bn",
  "task": "feature_extraction",
  "outputs": {
    "embedding": "float32[batch, embed_dim]"
  },
  "preprocessing": {
    "expected_input": "float32 images in [0,1] normalized",
    "suggested_normalize": {
      "mean": [
        0.485,
        0.456,
        0.406
      ],
      "std": [
        0.229,
        0.224,
        0.225
      ]
    },
    "resize": 224
  },
  "id2label": null,
  "label2id": null,
  "version": "0.1.0"
}