Spaces:
Runtime error
Runtime error
Upload app.py
Browse filesChangement d'ordre des classes
app.py
CHANGED
@@ -33,11 +33,11 @@ classes_list = [
|
|
33 |
"Ferrage_et_accessoires_Compas_limiteur",
|
34 |
"Ferrage_et_accessoires_Renvois_d'angle",
|
35 |
"Joints_et_consommables_Equerres_aluminium_moulees",
|
36 |
-
"Joints_et_consommables_Joints_a_clipser",
|
37 |
-
"Joints_et_consommables_Joints_a_coller",
|
38 |
"Joints_et_consommables_Joints_a_glisser",
|
39 |
"Joints_et_consommables_Joints_EPDM",
|
40 |
"Joints_et_consommables_Joints_PVC_aluminium",
|
|
|
|
|
41 |
"Joints_et_consommables_Silicone_pour_vitrage_alu",
|
42 |
"Joints_et_consommables_Visserie_inox_alu",
|
43 |
"Poignee_carre_7_mm",
|
@@ -50,39 +50,13 @@ classes_list = [
|
|
50 |
"Serrure_Cuvette",
|
51 |
"Serrure_Gaches",
|
52 |
"Serrure_Pene_Crochet",
|
53 |
-
"Serrure_pour_Porte",
|
54 |
"Serrure_Tringles",
|
|
|
55 |
]
|
56 |
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
"Butées",
|
61 |
-
"Chariots",
|
62 |
-
"Charnière",
|
63 |
-
"Compas-limiteur",
|
64 |
-
"Renvois d'angle",
|
65 |
-
"Equerres aluminium moulées",
|
66 |
-
"Joints à clipser",
|
67 |
-
"Joints à coller",
|
68 |
-
"Joints à glisser",
|
69 |
-
"Joints EPDM",
|
70 |
-
"Joints PVC aluminium",
|
71 |
-
"Silicone pour vitrage alu",
|
72 |
-
"Visserie inox alu",
|
73 |
-
"Poignée carré 7 mm",
|
74 |
-
"Poignée carré 8 mm",
|
75 |
-
"Poignée crémone",
|
76 |
-
"Poignée cuvette",
|
77 |
-
"Poignée de tirage",
|
78 |
-
"Poignée pour levant coulissant",
|
79 |
-
"Serrure crémone multipoints",
|
80 |
-
"Serrure cuvette",
|
81 |
-
"Serrure gaches",
|
82 |
-
"Serrure pene crochet",
|
83 |
-
"Serrure pour porte",
|
84 |
-
"Serrure tringles",
|
85 |
-
]
|
86 |
|
87 |
data_size = 384
|
88 |
fpn_size = 1536
|
|
|
33 |
"Ferrage_et_accessoires_Compas_limiteur",
|
34 |
"Ferrage_et_accessoires_Renvois_d'angle",
|
35 |
"Joints_et_consommables_Equerres_aluminium_moulees",
|
|
|
|
|
36 |
"Joints_et_consommables_Joints_a_glisser",
|
37 |
"Joints_et_consommables_Joints_EPDM",
|
38 |
"Joints_et_consommables_Joints_PVC_aluminium",
|
39 |
+
"Joints_et_consommables_Joints_a_clipser",
|
40 |
+
"Joints_et_consommables_Joints_a_coller",
|
41 |
"Joints_et_consommables_Silicone_pour_vitrage_alu",
|
42 |
"Joints_et_consommables_Visserie_inox_alu",
|
43 |
"Poignee_carre_7_mm",
|
|
|
50 |
"Serrure_Cuvette",
|
51 |
"Serrure_Gaches",
|
52 |
"Serrure_Pene_Crochet",
|
|
|
53 |
"Serrure_Tringles",
|
54 |
+
"Serrure_pour_Porte",
|
55 |
]
|
56 |
|
57 |
+
|
58 |
+
# === Classes : attention elles doivent être dans l'ordre que donne liste.sort() en Python
|
59 |
+
classes_list ['Ferrage_et_accessoires_ANTI_FAUSSE_MANOEUVRE', 'Ferrage_et_accessoires_Busettes', 'Ferrage_et_accessoires_Butees', 'Ferrage_et_accessoires_Chariots', 'Ferrage_et_accessoires_Charniere', 'Ferrage_et_accessoires_Compas_limiteur', "Ferrage_et_accessoires_Renvois_d'angle", 'Joints_et_consommables_Equerres_aluminium_moulees', 'Joints_et_consommables_Joints_EPDM', 'Joints_et_consommables_Joints_PVC_aluminium', 'Joints_et_consommables_Joints_a_clipser', 'Joints_et_consommables_Joints_a_coller', 'Joints_et_consommables_Joints_a_glisser', 'Joints_et_consommables_Silicone_pour_vitrage_alu', 'Joints_et_consommables_Visserie_inox_alu', 'Poignee_carre_7_mm', 'Poignee_carre_8_mm', 'Poignee_cremone', 'Poignee_cuvette', 'Poignee_de_tirage', 'Poignee_pour_Levant_Coulissant', 'Serrure_Cremone_multipoints', 'Serrure_Cuvette', 'Serrure_Gaches', 'Serrure_Pene_Crochet', 'Serrure_Tringles', 'Serrure_pour_Porte']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
|
61 |
data_size = 384
|
62 |
fpn_size = 1536
|