Downloads · 30 days
0
LukasMoravansky/Synth-Eye-GAN
Synth-Eye-GAN is a object detection model from LukasMoravansky. Use it when you need objects located in an image. The card lists the license as mit.
<p align="center" <img src="images/LogoWhite.png" alt="Synth.Eye GAN" width="480"/ </p
Downloads · 30 days
0
Access
Public
Updated May 15, 2026
Repo size
953 MB
Likes
0
Public
Click a slice to open those files.
.pkl846 MB · 89%
From the Hugging Face model README
Synth.Eye GAN is a data-driven extension of the Synth.Eye platform. It replaces physics-based Blender rendering with StyleGAN2-ADA to generate synthetic training images of fingerprint residue on industrial parts, which are used to train YOLO defect detection models for real-time inspection.
| File | Type | Resolution | Description |
|---|---|---|---|
front.pkl | StyleGAN2-ADA generator | 256×256 px | Generates industrial part front-side images |
back.pkl | StyleGAN2-ADA generator | 256×256 px | Generates industrial part back-side images |
fingerprint.pkl | StyleGAN2-ADA generator | 128×128 px | Generates fingerprint residue images |
yolov8m_object_detection | YOLOv8 Medium | imgsz 640 | Detects part orientation — Cls_Obj_Front_Side (0), Cls_Obj_Back_Side (1) |
yolov8m_defect_detection | YOLOv8 Medium | imgsz 640 | Detects fingerprint residue defects — Cls_Defect_Fingerprint (0) |
Left: real training photos captured at INTEMAC Research Center. Right: GAN-generated synthetic images from front.pkl, back.pkl, and fingerprint.pkl.
Dual-model inference on a real industrial part — blue frame: yolov8m_object_detection (part orientation), orange box: yolov8m_defect_detection (fingerprint residue defect).
| Model | Dataset | Size | Availability |
|---|---|---|---|
| Front/Back GAN | Proprietary photos from INTEMAC Research Center | ~130 images per side | Not public; cropped versions available on HF Datasets |
| Fingerprint GAN | SOCOFing | 6,000 scanned fingerprint images | Public (Kaggle) |
| YOLO models | Synthetic composites from Dataset_v2 and Dataset_v3 | See HF Datasets | Public |
StyleGAN2-ADA generators use a custom fork at LukasMoravansky/stylegan2-ada-pytorch, based on the original NVlabs/stylegan2-ada-pytorch.
Fork additions (changelog):
STYLEGAN2_FORCE_REF_IMPL environment variableYOLO models use Ultralytics YOLOv8 Medium (≥ 8.4.48).
import pickle
import torch
with open("front.pkl", "rb") as f:
G = pickle.load(f)["G_ema"].cuda()
z = torch.randn(1, G.z_dim).cuda()
c = torch.zeros(1, G.c_dim).cuda()
img = G(z, c) # (1, 3, 256, 256), range [-1, 1]
from ultralytics import YOLO
model = YOLO("yolov8m_object_detection")
results = model("image.jpg", imgsz=640)
| Resource | Link |
|---|---|
| GitHub (source) | LukasMoravansky/Synth_Eye_GAN |
| Training dataset | LukasMoravansky/Synth-Eye-GAN-Data |
| StyleGAN2-ADA fork | LukasMoravansky/stylegan2-ada-pytorch |
| Original StyleGAN2-ADA | NVlabs/stylegan2-ada-pytorch |
| Synth.Eye (predecessor) | LukasMoravansky/Synth_Eye |