ahmadalfian commited on
Commit
a6fd64b
1 Parent(s): 2b4c9d2

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +80 -80
config.json CHANGED
@@ -1,80 +1,80 @@
1
- {
2
- "model_type": "image_classification",
3
- "num_labels": 36, // Sesuaikan dengan jumlah kelas yang kamu miliki
4
- "id2label": {
5
- "0": "apple",
6
- "1": "banana",
7
- "2": "beetroot",
8
- "3": "bell pepper",
9
- "4": "cabbage",
10
- "5": "capsicum",
11
- "6": "carrot",
12
- "7": "cauliflower",
13
- "8": "chilli pepper",
14
- "9": "corn",
15
- "10": "cucumber",
16
- "11": "eggplant",
17
- "12": "garlic",
18
- "13": "ginger",
19
- "14": "grapes",
20
- "15": "jalepeno",
21
- "16": "kiwi",
22
- "17": "lemon",
23
- "18": "lettuce",
24
- "19": "mango",
25
- "20": "onion",
26
- "21": "orange",
27
- "22": "paprika",
28
- "23": "pear",
29
- "24": "peas",
30
- "25": "pineapple",
31
- "26": "pomegranate",
32
- "27": "potato",
33
- "28": "raddish",
34
- "29": "soy beans",
35
- "30": "spinach",
36
- "31": "sweetcorn",
37
- "32": "sweetpotato",
38
- "33": "tomato",
39
- "34": "turnip",
40
- "35": "watermelon"
41
- },
42
- "label2id": {
43
- "apple": 0,
44
- "banana": 1,
45
- "beetroot": 2,
46
- "bell pepper": 3,
47
- "cabbage": 4,
48
- "capsicum": 5,
49
- "carrot": 6,
50
- "cauliflower": 7,
51
- "chilli pepper": 8,
52
- "corn": 9,
53
- "cucumber": 10,
54
- "eggplant": 11,
55
- "garlic": 12,
56
- "ginger": 13,
57
- "grapes": 14,
58
- "jalepeno": 15,
59
- "kiwi": 16,
60
- "lemon": 17,
61
- "lettuce": 18,
62
- "mango": 19,
63
- "onion": 20,
64
- "orange": 21,
65
- "paprika": 22,
66
- "pear": 23,
67
- "peas": 24,
68
- "pineapple": 25,
69
- "pomegranate": 26,
70
- "potato": 27,
71
- "raddish": 28,
72
- "soy beans": 29,
73
- "spinach": 30,
74
- "sweetcorn": 31,
75
- "sweetpotato": 32,
76
- "tomato": 33,
77
- "turnip": 34,
78
- "watermelon": 35
79
- }
80
- }
 
1
+ {
2
+ "model_type": "image_classification",
3
+ "num_labels": 34,
4
+ "id2label": {
5
+ "0": "apple",
6
+ "1": "banana",
7
+ "2": "beetroot",
8
+ "3": "bell pepper",
9
+ "4": "cabbage",
10
+ "5": "capsicum",
11
+ "6": "carrot",
12
+ "7": "cauliflower",
13
+ "8": "chilli pepper",
14
+ "9": "corn",
15
+ "10": "cucumber",
16
+ "11": "eggplant",
17
+ "12": "garlic",
18
+ "13": "ginger",
19
+ "14": "grapes",
20
+ "15": "jalepeno",
21
+ "16": "kiwi",
22
+ "17": "lemon",
23
+ "18": "lettuce",
24
+ "19": "mango",
25
+ "20": "onion",
26
+ "21": "orange",
27
+ "22": "paprika",
28
+ "23": "pear",
29
+ "24": "peas",
30
+ "25": "pineapple",
31
+ "26": "pomegranate",
32
+ "27": "potato",
33
+ "28": "raddish",
34
+ "29": "soy beans",
35
+ "30": "spinach",
36
+ "31": "sweetcorn",
37
+ "32": "sweetpotato",
38
+ "33": "tomato",
39
+ "34": "turnip",
40
+ "35": "watermelon"
41
+ },
42
+ "label2id": {
43
+ "apple": 0,
44
+ "banana": 1,
45
+ "beetroot": 2,
46
+ "bell pepper": 3,
47
+ "cabbage": 4,
48
+ "capsicum": 5,
49
+ "carrot": 6,
50
+ "cauliflower": 7,
51
+ "chilli pepper": 8,
52
+ "corn": 9,
53
+ "cucumber": 10,
54
+ "eggplant": 11,
55
+ "garlic": 12,
56
+ "ginger": 13,
57
+ "grapes": 14,
58
+ "jalepeno": 15,
59
+ "kiwi": 16,
60
+ "lemon": 17,
61
+ "lettuce": 18,
62
+ "mango": 19,
63
+ "onion": 20,
64
+ "orange": 21,
65
+ "paprika": 22,
66
+ "pear": 23,
67
+ "peas": 24,
68
+ "pineapple": 25,
69
+ "pomegranate": 26,
70
+ "potato": 27,
71
+ "raddish": 28,
72
+ "soy beans": 29,
73
+ "spinach": 30,
74
+ "sweetcorn": 31,
75
+ "sweetpotato": 32,
76
+ "tomato": 33,
77
+ "turnip": 34,
78
+ "watermelon": 35
79
+ }
80
+ }