🇬🇧 English
🎨 Lama Model (TorchScript) for Deep Erase Pro
This repository hosts the AI model weights used by the Deep Erase Pro GIMP plugin. It is a compiled version of the renowned LaMa (Resolution-robust Large Mask Inpainting) model.
⚠️ About the "Suspicious" (Pickle) Security Alert
Hugging Face displays a security warning on the lama.pt file. This is a normal and expected behavior.
The Deep Erase Pro plugin requires a TorchScript (.pt) model because it embeds both the AI weights and the complete neural network architecture. This allows the plugin to function standalone without complex environment installations.
The .pt format natively relies on the Python pickle module for data serialization. Security scanners (like Protect AI or Picklescan) automatically flag this format as a precaution.
To guarantee your safety, the GIMP plugin code includes a strict verification: Before each use, the script recalculates the cryptographic fingerprint (SHA-256 Hash) of this file. If the file has been altered by even a single byte, the plugin will block its execution.
🛠️ Provenance and Integrity
This model is not a random file found online. It was generated and compiled locally into the TorchScript format directly from the official research project's source code.
- Official source repository: advimman/lama
- Expected SHA-256 Hash:
300BE8A5C9A5F060FA35B144921FBF15C2F4D503CAD65AEE192B3365A883AAB4
🚀 Installation (For GIMP Users)
You do not need to execute this file yourself.
- Download the
lama.ptfile. - Place it in the GIMP AI shared folder:
- Windows:
C:\Users\YOUR_NAME\AppData\Roaming\GIMP\3.2\ai_suite_shared\models\ - Linux/Mac:
~/.config/GIMP/3.2/ai_suite_shared/models/
- Windows:
- Launch GIMP and use the Deep Erase Pro filter. The plugin will load it securely.
🇫🇷 Français
🎨 Modèle Lama (TorchScript) pour Deep Erase Pro
Ce dépôt héberge les poids du modèle d'intelligence artificielle utilisé par le plugin GIMP Deep Erase Pro. Il s'agit d'une version compilée du célèbre modèle d'inpainting LaMa (Resolution-robust Large Mask Inpainting).
⚠️ À propos de l'alerte de sécurité "Suspicious" (Pickle)
Hugging Face affiche un avertissement de sécurité sur le fichier lama.pt. C'est un comportement normal et attendu.
Le plugin Deep Erase Pro nécessite un modèle au format TorchScript (.pt) car celui-ci intègre non seulement les "poids" de l'IA, mais aussi l'architecture complète du réseau de neurones, ce qui permet au plugin de fonctionner de manière autonome sans installation complexe.
Le format .pt s'appuie nativement sur le module Python pickle pour la sérialisation des données. Les scanners de sécurité (comme Protect AI ou Picklescan) flaguent systématiquement ce format par précaution.
Pour garantir votre sécurité, le code du plugin GIMP intègre une vérification stricte : Avant chaque utilisation, le script recalcule l'empreinte cryptographique (Hash SHA-256) de ce fichier. Si le fichier a été altéré ne serait-ce que d'un seul octet, le plugin bloquera son exécution.
🛠️ Provenance et Intégrité
Ce modèle n'est pas un fichier aléatoire trouvé sur internet. Il a été généré et compilé localement au format TorchScript directement à partir du code source officiel du projet de recherche.
- Dépôt officiel d'origine : advimman/lama
- Hash SHA-256 attendu par le plugin :
300BE8A5C9A5F060FA35B144921FBF15C2F4D503CAD65AEE192B3365A883AAB4
🚀 Installation (Pour les utilisateurs de GIMP)
Vous n'avez pas besoin d'exécuter ce fichier vous-même.
- Téléchargez le fichier
lama.pt. - Placez-le dans le dossier partagé de l'IA de GIMP :
- Windows :
C:\Users\VOTRE_NOM\AppData\Roaming\GIMP\3.2\ai_suite_shared\models\ - Linux/Mac :
~/.config/GIMP/3.2/ai_suite_shared/models/
- Windows :
- Lancez GIMP et utilisez le filtre Deep Erase Pro. Le plugin se chargera de le lire de manière sécurisée.