Spaces:
Runtime error
Runtime error
Upload 855 files
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +13 -0
- app.py +234 -0
- imgs/Ferrage_et_accessoires_ANTI_FAUSSE_MANOEUVRE/Ferrage_et_accessoires_ANTI_FAUSSE_MANOEUVRE_0001.jpg +0 -0
- imgs/Ferrage_et_accessoires_ANTI_FAUSSE_MANOEUVRE/Ferrage_et_accessoires_ANTI_FAUSSE_MANOEUVRE_0002.jpg +0 -0
- imgs/Ferrage_et_accessoires_ANTI_FAUSSE_MANOEUVRE/Ferrage_et_accessoires_ANTI_FAUSSE_MANOEUVRE_0003.jpg +0 -0
- imgs/Ferrage_et_accessoires_Busettes/Ferrage_et_accessoires_Busettes_0001.jpg +0 -0
- imgs/Ferrage_et_accessoires_Busettes/Ferrage_et_accessoires_Busettes_0002.jpg +0 -0
- imgs/Ferrage_et_accessoires_Busettes/Ferrage_et_accessoires_Busettes_0003.jpg +0 -0
- imgs/Ferrage_et_accessoires_Butees/Ferrage_et_accessoires_Butees_0001.jpg +0 -0
- imgs/Ferrage_et_accessoires_Butees/Ferrage_et_accessoires_Butees_0002.jpg +0 -0
- imgs/Ferrage_et_accessoires_Butees/Ferrage_et_accessoires_Butees_0003.jpg +0 -0
- imgs/Ferrage_et_accessoires_Chariots/Ferrage_et_accessoires_Chariots_0001.jpg +0 -0
- imgs/Ferrage_et_accessoires_Chariots/Ferrage_et_accessoires_Chariots_0002.jpg +0 -0
- imgs/Ferrage_et_accessoires_Chariots/Ferrage_et_accessoires_Chariots_0003.jpg +0 -0
- imgs/Ferrage_et_accessoires_Charniere/Ferrage_et_accessoires_Charniere_0001.jpg +0 -0
- imgs/Ferrage_et_accessoires_Charniere/Ferrage_et_accessoires_Charniere_0002.jpg +0 -0
- imgs/Ferrage_et_accessoires_Charniere/Ferrage_et_accessoires_Charniere_0003.jpg +0 -0
- imgs/Ferrage_et_accessoires_Compas_limiteur/Ferrage_et_accessoires_Compas_limiteur_0001.jpg +0 -0
- imgs/Ferrage_et_accessoires_Compas_limiteur/Ferrage_et_accessoires_Compas_limiteur_0002.jpg +0 -0
- imgs/Ferrage_et_accessoires_Compas_limiteur/Ferrage_et_accessoires_Compas_limiteur_0003.jpg +0 -0
- imgs/Ferrage_et_accessoires_Renvois_d'angle/Ferrage_et_accessoires_Renvois_d'angle_0001.jpg +0 -0
- imgs/Ferrage_et_accessoires_Renvois_d'angle/Ferrage_et_accessoires_Renvois_d'angle_0002.jpg +0 -0
- imgs/Ferrage_et_accessoires_Renvois_d'angle/Ferrage_et_accessoires_Renvois_d'angle_0003.jpg +0 -0
- imgs/Joints_et_consommables_Equerres_aluminium_moulees/Joints_et_consommables_Equerres_aluminium_moulees_0001.jpg +0 -0
- imgs/Joints_et_consommables_Equerres_aluminium_moulees/Joints_et_consommables_Equerres_aluminium_moulees_0002.jpg +0 -0
- imgs/Joints_et_consommables_Equerres_aluminium_moulees/Joints_et_consommables_Equerres_aluminium_moulees_0003.jpg +0 -0
- imgs/Joints_et_consommables_Joints_EPDM/Joints_et_consommables_Joints_EPDM_0001.jpg +0 -0
- imgs/Joints_et_consommables_Joints_EPDM/Joints_et_consommables_Joints_EPDM_0002.jpg +0 -0
- imgs/Joints_et_consommables_Joints_EPDM/Joints_et_consommables_Joints_EPDM_0003.jpg +0 -0
- imgs/Joints_et_consommables_Joints_PVC_aluminium/Joints_et_consommables_Joints_PVC_aluminium_0001.jpg +0 -0
- imgs/Joints_et_consommables_Joints_PVC_aluminium/Joints_et_consommables_Joints_PVC_aluminium_0002.jpg +3 -0
- imgs/Joints_et_consommables_Joints_PVC_aluminium/Joints_et_consommables_Joints_PVC_aluminium_0003.jpg +0 -0
- imgs/Joints_et_consommables_Joints_a_clipser/Joints_et_consommables_Joints_a_clipser_0001.jpg +0 -0
- imgs/Joints_et_consommables_Joints_a_clipser/Joints_et_consommables_Joints_a_clipser_0002.jpg +0 -0
- imgs/Joints_et_consommables_Joints_a_clipser/Joints_et_consommables_Joints_a_clipser_0003.jpg +0 -0
- imgs/Joints_et_consommables_Joints_a_coller/Joints_et_consommables_Joints_a_coller_0001.jpg +0 -0
- imgs/Joints_et_consommables_Joints_a_coller/Joints_et_consommables_Joints_a_coller_0002.jpg +0 -0
- imgs/Joints_et_consommables_Joints_a_coller/Joints_et_consommables_Joints_a_coller_0003.jpg +3 -0
- imgs/Joints_et_consommables_Joints_a_glisser/Joints_et_consommables_Joints_a_glisser_0001.jpg +0 -0
- imgs/Joints_et_consommables_Joints_a_glisser/Joints_et_consommables_Joints_a_glisser_0002.jpg +0 -0
- imgs/Joints_et_consommables_Joints_a_glisser/Joints_et_consommables_Joints_a_glisser_0003.jpg +0 -0
- imgs/Joints_et_consommables_Silicone_pour_vitrage_alu/Joints_et_consommables_Silicone_pour_vitrage_alu_0001.jpg +0 -0
- imgs/Joints_et_consommables_Silicone_pour_vitrage_alu/Joints_et_consommables_Silicone_pour_vitrage_alu_0002.jpg +0 -0
- imgs/Joints_et_consommables_Silicone_pour_vitrage_alu/Joints_et_consommables_Silicone_pour_vitrage_alu_0003.jpg +0 -0
- imgs/Joints_et_consommables_Visserie_inox_alu/Joints_et_consommables_Visserie_inox_alu_0001.jpg +0 -0
- imgs/Joints_et_consommables_Visserie_inox_alu/Joints_et_consommables_Visserie_inox_alu_0002.jpg +0 -0
- imgs/Joints_et_consommables_Visserie_inox_alu/Joints_et_consommables_Visserie_inox_alu_0003.jpg +0 -0
- imgs/Poignee_carre_7_mm/Poignee_carre_7_mm_0001.jpg +0 -0
- imgs/Poignee_carre_7_mm/Poignee_carre_7_mm_0002.jpg +0 -0
- imgs/Poignee_carre_7_mm/Poignee_carre_7_mm_0003.jpg +0 -0
.gitattributes
CHANGED
@@ -33,3 +33,16 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
imgs/Joints_et_consommables_Joints_a_coller/Joints_et_consommables_Joints_a_coller_0003.jpg filter=lfs diff=lfs merge=lfs -text
|
37 |
+
imgs/Joints_et_consommables_Joints_PVC_aluminium/Joints_et_consommables_Joints_PVC_aluminium_0002.jpg filter=lfs diff=lfs merge=lfs -text
|
38 |
+
imgs/Poignee_carre_8_mm/Poignee_carre_8_mm_0003.jpg filter=lfs diff=lfs merge=lfs -text
|
39 |
+
imgs/Poignee_cuvette/Poignee_cuvette_0003.jpg filter=lfs diff=lfs merge=lfs -text
|
40 |
+
imgs/Poignee_pour_Levant_Coulissant/Poignee_pour_Levant_Coulissant_0001.jpg filter=lfs diff=lfs merge=lfs -text
|
41 |
+
imgs/Serrure_Cremone_multipoints/Serrure_Cremone_multipoints_0002.jpg filter=lfs diff=lfs merge=lfs -text
|
42 |
+
imgs/Serrure_Cuvette/Serrure_Cuvette_0001.jpg filter=lfs diff=lfs merge=lfs -text
|
43 |
+
imgs/Serrure_Cuvette/Serrure_Cuvette_0003.jpg filter=lfs diff=lfs merge=lfs -text
|
44 |
+
imgs/Serrure_Gaches/Serrure_Gaches_0002.jpg filter=lfs diff=lfs merge=lfs -text
|
45 |
+
imgs/Serrure_Gaches/Serrure_Gaches_0003.jpg filter=lfs diff=lfs merge=lfs -text
|
46 |
+
imgs/Serrure_Pene_Crochet/Serrure_Pene_Crochet_0001.jpg filter=lfs diff=lfs merge=lfs -text
|
47 |
+
imgs/Serrure_Pene_Crochet/Serrure_Pene_Crochet_0002.jpg filter=lfs diff=lfs merge=lfs -text
|
48 |
+
imgs/Serrure_pour_Porte/Serrure_pour_Porte_0003.jpg filter=lfs diff=lfs merge=lfs -text
|
app.py
ADDED
@@ -0,0 +1,234 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import os
|
2 |
+
import torch
|
3 |
+
import requests
|
4 |
+
import numpy as np
|
5 |
+
import numpy.matlib
|
6 |
+
import copy
|
7 |
+
import cv2
|
8 |
+
from PIL import Image
|
9 |
+
from typing import List
|
10 |
+
import timm
|
11 |
+
import gradio as gr
|
12 |
+
import torchvision.transforms as transforms
|
13 |
+
|
14 |
+
from pim_module import PluginMoodel # Assure-toi que ce fichier est présent
|
15 |
+
|
16 |
+
# === Téléchargement automatique depuis Google Drive ===
|
17 |
+
|
18 |
+
def download_file_from_google_drive(file_id, destination):
|
19 |
+
URL = "https://drive.google.com/uc?export=download"
|
20 |
+
session = requests.Session()
|
21 |
+
response = session.get(URL, params={"id": file_id}, stream=True)
|
22 |
+
token = get_confirm_token(response)
|
23 |
+
if token:
|
24 |
+
params = {"id": file_id, "confirm": token}
|
25 |
+
response = session.get(URL, params=params, stream=True)
|
26 |
+
save_response_content(response, destination)
|
27 |
+
|
28 |
+
def get_confirm_token(response):
|
29 |
+
for key, value in response.cookies.items():
|
30 |
+
if key.startswith("download_warning"):
|
31 |
+
return value
|
32 |
+
return None
|
33 |
+
|
34 |
+
def save_response_content(response, destination):
|
35 |
+
CHUNK_SIZE = 32768
|
36 |
+
with open(destination, "wb") as f:
|
37 |
+
for chunk in response.iter_content(CHUNK_SIZE):
|
38 |
+
if chunk:
|
39 |
+
f.write(chunk)
|
40 |
+
|
41 |
+
if not os.path.exists("weights.pt"):
|
42 |
+
print("Téléchargement des poids depuis Google Drive...")
|
43 |
+
file_id = "1Ck9qyjs4_c_fqgaEpZ0eN9jIV5TiqkXp"
|
44 |
+
download_file_from_google_drive(file_id, "weights.pt")
|
45 |
+
|
46 |
+
# === Classes
|
47 |
+
classes_list = [
|
48 |
+
"Ferrage_et_accessoires_ANTI_FAUSSE_MANOEUVRE",
|
49 |
+
"Ferrage_et_accessoires_Busettes",
|
50 |
+
"Ferrage_et_accessoires_Butees",
|
51 |
+
"Ferrage_et_accessoires_Chariots",
|
52 |
+
"Ferrage_et_accessoires_Charniere",
|
53 |
+
"Ferrage_et_accessoires_Compas_limiteur",
|
54 |
+
"Ferrage_et_accessoires_Renvois_d'angle",
|
55 |
+
"Joints_et_consommables_Equerres_aluminium_moulees",
|
56 |
+
"Joints_et_consommables_Joints_a_clipser",
|
57 |
+
"Joints_et_consommables_Joints_a_coller",
|
58 |
+
"Joints_et_consommables_Joints_a_glisser",
|
59 |
+
"Joints_et_consommables_Joints_EPDM",
|
60 |
+
"Joints_et_consommables_Joints_PVC_aluminium",
|
61 |
+
"Joints_et_consommables_Silicone_pour_vitrage_alu",
|
62 |
+
"Joints_et_consommables_Visserie_inox_alu",
|
63 |
+
"Poignee_carre_7_mm",
|
64 |
+
"Poignee_carre_8_mm",
|
65 |
+
"Poignee_cremone",
|
66 |
+
"Poignee_cuvette",
|
67 |
+
"Poignee_de_tirage",
|
68 |
+
"Poignee_pour_Levant_Coulissant",
|
69 |
+
"Serrure_Cremone_multipoints",
|
70 |
+
"Serrure_Cuvette",
|
71 |
+
"Serrure_Gaches",
|
72 |
+
"Serrure_Pene_Crochet",
|
73 |
+
"Serrure_pour_Porte",
|
74 |
+
"Serrure_Tringles",
|
75 |
+
]
|
76 |
+
|
77 |
+
data_size = 384
|
78 |
+
fpn_size = 1536
|
79 |
+
num_classes = 27
|
80 |
+
num_selects = {'layer1': 256, 'layer2': 128, 'layer3': 64, 'layer4': 32}
|
81 |
+
features, grads, module_id_mapper = {}, {}, {}
|
82 |
+
|
83 |
+
def forward_hook(module, inp_hs, out_hs):
|
84 |
+
layer_id = len(features) + 1
|
85 |
+
module_id_mapper[module] = layer_id
|
86 |
+
features[layer_id] = {"in": inp_hs, "out": out_hs}
|
87 |
+
|
88 |
+
def backward_hook(module, inp_grad, out_grad):
|
89 |
+
layer_id = module_id_mapper[module]
|
90 |
+
grads[layer_id] = {"in": inp_grad, "out": out_grad}
|
91 |
+
|
92 |
+
def build_model(path: str):
|
93 |
+
backbone = timm.create_model('swin_large_patch4_window12_384_in22k', pretrained=True)
|
94 |
+
model = PluginMoodel(
|
95 |
+
backbone=backbone,
|
96 |
+
return_nodes=None,
|
97 |
+
img_size=data_size,
|
98 |
+
use_fpn=True,
|
99 |
+
fpn_size=fpn_size,
|
100 |
+
proj_type="Linear",
|
101 |
+
upsample_type="Conv",
|
102 |
+
use_selection=True,
|
103 |
+
num_classes=num_classes,
|
104 |
+
num_selects=num_selects,
|
105 |
+
use_combiner=True,
|
106 |
+
comb_proj_size=None
|
107 |
+
)
|
108 |
+
ckpt = torch.load(path, map_location="cpu", weights_only=False)
|
109 |
+
model.load_state_dict(ckpt["model"], strict=False)
|
110 |
+
model.eval()
|
111 |
+
|
112 |
+
for layer in [0, 1, 2, 3]:
|
113 |
+
model.backbone.layers[layer].register_forward_hook(forward_hook)
|
114 |
+
model.backbone.layers[layer].register_full_backward_hook(backward_hook)
|
115 |
+
|
116 |
+
for i in range(1, 5):
|
117 |
+
getattr(model.fpn_down, f'Proj_layer{i}').register_forward_hook(forward_hook)
|
118 |
+
getattr(model.fpn_down, f'Proj_layer{i}').register_full_backward_hook(backward_hook)
|
119 |
+
getattr(model.fpn_up, f'Proj_layer{i}').register_forward_hook(forward_hook)
|
120 |
+
getattr(model.fpn_up, f'Proj_layer{i}').register_full_backward_hook(backward_hook)
|
121 |
+
|
122 |
+
return model
|
123 |
+
|
124 |
+
class ImgLoader:
|
125 |
+
def __init__(self, img_size):
|
126 |
+
self.transform = transforms.Compose([
|
127 |
+
transforms.Resize((510, 510), Image.BILINEAR),
|
128 |
+
transforms.CenterCrop((img_size, img_size)),
|
129 |
+
transforms.ToTensor(),
|
130 |
+
transforms.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225])
|
131 |
+
])
|
132 |
+
|
133 |
+
def load(self, input_img):
|
134 |
+
if isinstance(input_img, str):
|
135 |
+
ori_img = cv2.imread(input_img)
|
136 |
+
img = Image.fromarray(cv2.cvtColor(ori_img, cv2.COLOR_BGR2RGB))
|
137 |
+
elif isinstance(input_img, Image.Image):
|
138 |
+
img = input_img
|
139 |
+
else:
|
140 |
+
raise ValueError("Image invalide")
|
141 |
+
|
142 |
+
if img.mode != "RGB":
|
143 |
+
img = img.convert("RGB")
|
144 |
+
|
145 |
+
return self.transform(img).unsqueeze(0)
|
146 |
+
|
147 |
+
def cal_backward(out) -> dict:
|
148 |
+
target_layer_names = ['layer1', 'layer2', 'layer3', 'layer4',
|
149 |
+
'FPN1_layer1', 'FPN1_layer2', 'FPN1_layer3', 'FPN1_layer4', 'comb_outs']
|
150 |
+
|
151 |
+
sum_out = None
|
152 |
+
for name in target_layer_names:
|
153 |
+
tmp_out = out[name].mean(1) if name != "comb_outs" else out[name]
|
154 |
+
tmp_out = torch.softmax(tmp_out, dim=-1)
|
155 |
+
sum_out = tmp_out if sum_out is None else sum_out + tmp_out
|
156 |
+
|
157 |
+
with torch.no_grad():
|
158 |
+
smax = torch.softmax(sum_out, dim=-1)
|
159 |
+
A = np.transpose(np.matlib.repmat(smax[0], num_classes, 1)) - np.eye(num_classes)
|
160 |
+
_, _, V = np.linalg.svd(A, full_matrices=True)
|
161 |
+
V = V[num_classes - 1, :]
|
162 |
+
if V[0] < 0:
|
163 |
+
V = -V
|
164 |
+
V = np.log(V)
|
165 |
+
V = V - min(V)
|
166 |
+
V = V / sum(V)
|
167 |
+
|
168 |
+
top5_indices = np.argsort(-V)[:5]
|
169 |
+
top5_scores = -np.sort(-V)[:5]
|
170 |
+
|
171 |
+
# Construction du dictionnaire pour gr.Label
|
172 |
+
top5_dict = {classes_list[int(idx)]: float(f"{score:.4f}") for idx, score in zip(top5_indices, top5_scores)}
|
173 |
+
return top5_dict
|
174 |
+
|
175 |
+
# === Chargement du modèle
|
176 |
+
model = build_model("weights.pt")
|
177 |
+
img_loader = ImgLoader(data_size)
|
178 |
+
|
179 |
+
|
180 |
+
|
181 |
+
def predict_image(image: Image.Image):
|
182 |
+
global features, grads, module_id_mapper
|
183 |
+
features, grads, module_id_mapper = {}, {}, {}
|
184 |
+
|
185 |
+
if image is None:
|
186 |
+
raise ValueError("Aucune image reçue. Vérifie l'entrée.")
|
187 |
+
|
188 |
+
if image.mode != "RGB":
|
189 |
+
image = image.convert("RGB")
|
190 |
+
|
191 |
+
image_path = "temp.jpg"
|
192 |
+
image.save(image_path)
|
193 |
+
|
194 |
+
img_tensor = img_loader.load(image_path)
|
195 |
+
out = model(img_tensor)
|
196 |
+
top5_dict = cal_backward(out) # {classe: score}
|
197 |
+
|
198 |
+
gallery_outputs = []
|
199 |
+
for idx, class_name in enumerate(list(top5_dict.keys())):
|
200 |
+
images = [
|
201 |
+
(f"imgs/{class_name}/{class_name}_0001.jpg", f"Exemple {class_name} 1"),
|
202 |
+
(f"imgs/{class_name}/{class_name}_0002.jpg", f"Exemple {class_name} 2"),
|
203 |
+
(f"imgs/{class_name}/{class_name}_0003.jpg", f"Exemple {class_name} 3"),
|
204 |
+
]
|
205 |
+
gallery_outputs.append(images)
|
206 |
+
|
207 |
+
return top5_dict, *gallery_outputs
|
208 |
+
|
209 |
+
|
210 |
+
# === Interface Gradio
|
211 |
+
with gr.Blocks(css="""
|
212 |
+
.gr-image-upload { display: none !important }
|
213 |
+
.gallery-container .gr-box { height: auto !important; padding: 0 !important; }
|
214 |
+
""") as demo:
|
215 |
+
with gr.Row():
|
216 |
+
with gr.Column(scale=1):
|
217 |
+
with gr.Tab("Téléversement"):
|
218 |
+
image_input_upload = gr.Image(type="pil", label="Image à classer (upload)", sources=["upload"])
|
219 |
+
with gr.Tab("Webcam"):
|
220 |
+
image_input_webcam = gr.Image(type="pil", label="Image à classer (webcam)", sources=["webcam"])
|
221 |
+
|
222 |
+
with gr.Column(scale=1.5):
|
223 |
+
label_output = gr.Label(label="Prédictions")
|
224 |
+
gallery_outputs = [
|
225 |
+
gr.Gallery(label=f"", columns=3, height=300, container=True, elem_classes=["gallery-container"])
|
226 |
+
for i in range(5)
|
227 |
+
]
|
228 |
+
|
229 |
+
image_input_upload.change(fn=predict_image, inputs=image_input_upload, outputs=[label_output] + gallery_outputs)
|
230 |
+
image_input_webcam.change(fn=predict_image, inputs=image_input_webcam, outputs=[label_output] + gallery_outputs)
|
231 |
+
|
232 |
+
if __name__ == "__main__":
|
233 |
+
demo.launch()
|
234 |
+
|
imgs/Ferrage_et_accessoires_ANTI_FAUSSE_MANOEUVRE/Ferrage_et_accessoires_ANTI_FAUSSE_MANOEUVRE_0001.jpg
ADDED
![]() |
imgs/Ferrage_et_accessoires_ANTI_FAUSSE_MANOEUVRE/Ferrage_et_accessoires_ANTI_FAUSSE_MANOEUVRE_0002.jpg
ADDED
![]() |
imgs/Ferrage_et_accessoires_ANTI_FAUSSE_MANOEUVRE/Ferrage_et_accessoires_ANTI_FAUSSE_MANOEUVRE_0003.jpg
ADDED
![]() |
imgs/Ferrage_et_accessoires_Busettes/Ferrage_et_accessoires_Busettes_0001.jpg
ADDED
![]() |
imgs/Ferrage_et_accessoires_Busettes/Ferrage_et_accessoires_Busettes_0002.jpg
ADDED
![]() |
imgs/Ferrage_et_accessoires_Busettes/Ferrage_et_accessoires_Busettes_0003.jpg
ADDED
![]() |
imgs/Ferrage_et_accessoires_Butees/Ferrage_et_accessoires_Butees_0001.jpg
ADDED
![]() |
imgs/Ferrage_et_accessoires_Butees/Ferrage_et_accessoires_Butees_0002.jpg
ADDED
![]() |
imgs/Ferrage_et_accessoires_Butees/Ferrage_et_accessoires_Butees_0003.jpg
ADDED
![]() |
imgs/Ferrage_et_accessoires_Chariots/Ferrage_et_accessoires_Chariots_0001.jpg
ADDED
![]() |
imgs/Ferrage_et_accessoires_Chariots/Ferrage_et_accessoires_Chariots_0002.jpg
ADDED
![]() |
imgs/Ferrage_et_accessoires_Chariots/Ferrage_et_accessoires_Chariots_0003.jpg
ADDED
![]() |
imgs/Ferrage_et_accessoires_Charniere/Ferrage_et_accessoires_Charniere_0001.jpg
ADDED
![]() |
imgs/Ferrage_et_accessoires_Charniere/Ferrage_et_accessoires_Charniere_0002.jpg
ADDED
![]() |
imgs/Ferrage_et_accessoires_Charniere/Ferrage_et_accessoires_Charniere_0003.jpg
ADDED
![]() |
imgs/Ferrage_et_accessoires_Compas_limiteur/Ferrage_et_accessoires_Compas_limiteur_0001.jpg
ADDED
![]() |
imgs/Ferrage_et_accessoires_Compas_limiteur/Ferrage_et_accessoires_Compas_limiteur_0002.jpg
ADDED
![]() |
imgs/Ferrage_et_accessoires_Compas_limiteur/Ferrage_et_accessoires_Compas_limiteur_0003.jpg
ADDED
![]() |
imgs/Ferrage_et_accessoires_Renvois_d'angle/Ferrage_et_accessoires_Renvois_d'angle_0001.jpg
ADDED
![]() |
imgs/Ferrage_et_accessoires_Renvois_d'angle/Ferrage_et_accessoires_Renvois_d'angle_0002.jpg
ADDED
![]() |
imgs/Ferrage_et_accessoires_Renvois_d'angle/Ferrage_et_accessoires_Renvois_d'angle_0003.jpg
ADDED
![]() |
imgs/Joints_et_consommables_Equerres_aluminium_moulees/Joints_et_consommables_Equerres_aluminium_moulees_0001.jpg
ADDED
![]() |
imgs/Joints_et_consommables_Equerres_aluminium_moulees/Joints_et_consommables_Equerres_aluminium_moulees_0002.jpg
ADDED
![]() |
imgs/Joints_et_consommables_Equerres_aluminium_moulees/Joints_et_consommables_Equerres_aluminium_moulees_0003.jpg
ADDED
![]() |
imgs/Joints_et_consommables_Joints_EPDM/Joints_et_consommables_Joints_EPDM_0001.jpg
ADDED
![]() |
imgs/Joints_et_consommables_Joints_EPDM/Joints_et_consommables_Joints_EPDM_0002.jpg
ADDED
![]() |
imgs/Joints_et_consommables_Joints_EPDM/Joints_et_consommables_Joints_EPDM_0003.jpg
ADDED
![]() |
imgs/Joints_et_consommables_Joints_PVC_aluminium/Joints_et_consommables_Joints_PVC_aluminium_0001.jpg
ADDED
![]() |
imgs/Joints_et_consommables_Joints_PVC_aluminium/Joints_et_consommables_Joints_PVC_aluminium_0002.jpg
ADDED
![]() |
Git LFS Details
|
imgs/Joints_et_consommables_Joints_PVC_aluminium/Joints_et_consommables_Joints_PVC_aluminium_0003.jpg
ADDED
![]() |
imgs/Joints_et_consommables_Joints_a_clipser/Joints_et_consommables_Joints_a_clipser_0001.jpg
ADDED
![]() |
imgs/Joints_et_consommables_Joints_a_clipser/Joints_et_consommables_Joints_a_clipser_0002.jpg
ADDED
![]() |
imgs/Joints_et_consommables_Joints_a_clipser/Joints_et_consommables_Joints_a_clipser_0003.jpg
ADDED
![]() |
imgs/Joints_et_consommables_Joints_a_coller/Joints_et_consommables_Joints_a_coller_0001.jpg
ADDED
![]() |
imgs/Joints_et_consommables_Joints_a_coller/Joints_et_consommables_Joints_a_coller_0002.jpg
ADDED
![]() |
imgs/Joints_et_consommables_Joints_a_coller/Joints_et_consommables_Joints_a_coller_0003.jpg
ADDED
![]() |
Git LFS Details
|
imgs/Joints_et_consommables_Joints_a_glisser/Joints_et_consommables_Joints_a_glisser_0001.jpg
ADDED
![]() |
imgs/Joints_et_consommables_Joints_a_glisser/Joints_et_consommables_Joints_a_glisser_0002.jpg
ADDED
![]() |
imgs/Joints_et_consommables_Joints_a_glisser/Joints_et_consommables_Joints_a_glisser_0003.jpg
ADDED
![]() |
imgs/Joints_et_consommables_Silicone_pour_vitrage_alu/Joints_et_consommables_Silicone_pour_vitrage_alu_0001.jpg
ADDED
![]() |
imgs/Joints_et_consommables_Silicone_pour_vitrage_alu/Joints_et_consommables_Silicone_pour_vitrage_alu_0002.jpg
ADDED
![]() |
imgs/Joints_et_consommables_Silicone_pour_vitrage_alu/Joints_et_consommables_Silicone_pour_vitrage_alu_0003.jpg
ADDED
![]() |
imgs/Joints_et_consommables_Visserie_inox_alu/Joints_et_consommables_Visserie_inox_alu_0001.jpg
ADDED
![]() |
imgs/Joints_et_consommables_Visserie_inox_alu/Joints_et_consommables_Visserie_inox_alu_0002.jpg
ADDED
![]() |
imgs/Joints_et_consommables_Visserie_inox_alu/Joints_et_consommables_Visserie_inox_alu_0003.jpg
ADDED
![]() |
imgs/Poignee_carre_7_mm/Poignee_carre_7_mm_0001.jpg
ADDED
![]() |
imgs/Poignee_carre_7_mm/Poignee_carre_7_mm_0002.jpg
ADDED
![]() |
imgs/Poignee_carre_7_mm/Poignee_carre_7_mm_0003.jpg
ADDED
![]() |