v1.0 - Version stable: multi-PC, détection UI-DETR-1, 3 modes exécution

- Frontend v4 accessible sur réseau local (192.168.1.40)
- Ports ouverts: 3002 (frontend), 5001 (backend), 5004 (dashboard)
- Ollama GPU fonctionnel
- Self-healing interactif
- Dashboard confiance

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Dom
2026-01-29 11:23:51 +01:00
parent 21bfa3b337
commit a27b74cf22
1595 changed files with 412691 additions and 400 deletions

View File

@@ -0,0 +1,71 @@
# Instructions - Création du Cache HuggingFace
**Problème** : Le worker rpa ne peut pas télécharger les modèles CLIP car `/home/rpa/.cache/` n'existe pas.
---
## Solution : Créer le Cache Manuellement
**Ouvrez un nouveau terminal** et exécutez les commandes suivantes :
```bash
# 1. Créer le home directory pour rpa
sudo mkdir -p /home/rpa
# 2. Créer le cache HuggingFace
sudo mkdir -p /home/rpa/.cache/huggingface
sudo mkdir -p /home/rpa/.cache/huggingface/hub
sudo mkdir -p /home/rpa/.cache/torch
# 3. Configurer les permissions
sudo chown -R rpa:rpa /home/rpa
sudo chmod -R 755 /home/rpa/.cache
# 4. Vérifier que c'est créé
ls -la /home/rpa/.cache/
```
**Résultat attendu** :
```
drwxr-xr-x 4 rpa rpa 4096 janv. 7 21:00 .
drwxr-xr-x 3 rpa rpa 4096 janv. 7 21:00 ..
drwxr-xr-x 3 rpa rpa 4096 janv. 7 21:00 huggingface
drwxr-xr-x 2 rpa rpa 4096 janv. 7 21:00 torch
```
---
## Redémarrer le Worker
```bash
sudo systemctl restart rpa-vision-v3-worker.service
systemctl status rpa-vision-v3-worker.service
```
---
## Tester
Capturer une nouvelle session :
```bash
cd /home/dom/ai/rpa_vision_v3/agent_v0
./run.sh
```
Vérifier les logs que CLIP se télécharge :
```bash
journalctl -u rpa-vision-v3-worker -f
```
Vous devriez voir :
```
Downloading CLIP model...
Loading CLIP model: ViT-B-32 (openai) on cpu...
Embeddings generated: 37
```
---
**Après avoir exécuté ces commandes, revenez me confirmer que c'est fait.**