jjiw commited on
Commit
6f990c8
·
verified ·
1 Parent(s): b320e1c

Upload api-inference-config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. api-inference-config.json +1 -14
api-inference-config.json CHANGED
@@ -1,23 +1,11 @@
1
  {
2
  "task": "image-classification",
3
- "task_specific": {
4
- "image-classification": {
5
- "labels": [
6
- "\uc78e_\uc810\ubb34\ub2ac\ubcd1",
7
- "\uc78e_\uc815\uc0c1",
8
- "\uc78e_\ucd1d\ucc44\ubc8c\ub808"
9
- ]
10
- }
11
- },
12
  "framework": "pytorch",
13
  "model_type": "densenet",
14
- "model_id": "jjiw/kiwi_best_model",
15
- "revision": "main",
16
  "preprocessor": {
17
  "type": "ImageProcessor",
18
  "do_normalize": true,
19
  "do_resize": true,
20
- "do_center_crop": true,
21
  "size": {
22
  "height": 224,
23
  "width": 224
@@ -31,8 +19,7 @@
31
  0.229,
32
  0.224,
33
  0.225
34
- ],
35
- "resample": 3
36
  },
37
  "example": {
38
  "text": "An image of a kiwi leaf",
 
1
  {
2
  "task": "image-classification",
 
 
 
 
 
 
 
 
 
3
  "framework": "pytorch",
4
  "model_type": "densenet",
 
 
5
  "preprocessor": {
6
  "type": "ImageProcessor",
7
  "do_normalize": true,
8
  "do_resize": true,
 
9
  "size": {
10
  "height": 224,
11
  "width": 224
 
19
  0.229,
20
  0.224,
21
  0.225
22
+ ]
 
23
  },
24
  "example": {
25
  "text": "An image of a kiwi leaf",