jjiw commited on
Commit
78d6025
·
verified ·
1 Parent(s): ad9f77e

Upload api-inference-config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. api-inference-config.json +8 -24
api-inference-config.json CHANGED
@@ -1,28 +1,12 @@
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
12
- },
13
- "image_mean": [
14
- 0.485,
15
- 0.456,
16
- 0.406
17
- ],
18
- "image_std": [
19
- 0.229,
20
- 0.224,
21
- 0.225
22
- ]
23
- },
24
- "example": {
25
- "text": "An image of a kiwi leaf",
26
- "image": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/sample_leaf.jpg"
27
  }
28
  }
 
1
  {
2
  "task": "image-classification",
3
+ "task_specific": {
4
+ "image-classification": {
5
+ "labels": [
6
+ "잎_점무늬병",
7
+ "잎_정상",
8
+ "잎_총채벌레"
9
+ ]
10
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  }
12
  }