Skip to content
ModelListedExternal
Browse files

Ultralytics

ComfyUI Ultralytics Integration – Midnight1111 Model Collection

KindOtherBase modelUltralytics/YOLO11VersionRevision b2121b7

Model source

Kind
Other
File size
5.92–130 MB
Base model
Ultralytics/YOLO11
Version
vRevision b2121b7
Updated
Sep 22, 2026
Downloads
5K
Source
Hugging Face

Source description

ComfyUI Ultralytics Integration – Midnight1111 Model Collection

For ComfyUI, here’s how to load these models:

  1. Locate your ComfyUI folder (e.g. ~/ComfyUI/ or C:\ComfyUI\).
  2. Create directories:
    cd /path/to/ComfyUI/models
    mkdir -p ultralytics/segm ultralytics/bbox
    
  3. Place your .pt files: • Segmentation → models/ultralytics/segm/ • Detection (bbox) → models/ultralytics/bbox/
  4. Restart ComfyUI
cd /path/to/ComfyUI
  1. In the UI: Add Node → Model → Ultralytics → choose segm/... or bbox/.... Connect an Image Loader → Ultralytics node → Previewer

Unsafe files

Since getattr is classified as a dangerous pickle function, any segmentation model that uses it is classified as unsafe.

All models were created and saved using the official Ultralytics library, so it’s safe to use files downloaded from a trusted source.

See also: https://huggingface.co/docs/hub/security-pickle

Note on Loading Weights

If you encounter an error like:

Weights-only load failed. Unsupported global: builtins.set

This happens because PyTorch (for safety) blocks loading some objects by default. To fix it safely, add this code before loading:

python
import torch
torch.serialization.add_safe_globals([set])

This whitelists set and allows safe loading with weights_only=True.

Otherwise, never disable weights_only unless you 100% trust the file.

Check PyTorch's torch.load docs for more info.

Sources

1 source
Hugging FacePrimaryVersion b2121b71f6199e5ec9dc70ab534010b1019ccd7e
huggingface.co/MidnightRunner/Ultralytics/tree/b2121b71f6199e5ec9dc70ab534010b1019ccd7e

Verified Sep 9

Download files

Model artifacts

41 artifacts

bbox/breasts_seg.pt

pt · 6.46 MB · SHA-256 87f314a908be…640e · Hugging Face

Download file

bbox/eyeful_v1.pt

pt · 21.5 MB · SHA-256 06bae812f2c8…44e8 · Hugging Face

Download file

bbox/Eyeful_v2-Individual.pt

pt · 21.5 MB · SHA-256 278fee230b1b…1fbe · Hugging Face

Download file

bbox/Eyeful_v2-Paired.pt

pt · 21.5 MB · SHA-256 0d574fd6b4f5…3152 · Hugging Face

Download file

bbox/face_yolov8m.pt

pt · 49.6 MB · SHA-256 717923c19b3f…3e5f · Hugging Face

Download file

bbox/face_yolov8n_v2.pt

pt · 5.93 MB · SHA-256 1e561e2edfcc…9023 · Hugging Face

Download file

bbox/face_yolov8n.pt

pt · 5.92 MB · SHA-256 30e7adcf03c1…e077 · Hugging Face

Download file

bbox/face_yolov8s.pt

pt · 21.4 MB · SHA-256 2e157766211d…2658 · Hugging Face

Download file

bbox/hand_yolov8n.pt

pt · 5.95 MB · SHA-256 f3f23b865741…e174 · Hugging Face

Download file

bbox/hand_yolov8s.pt

pt · 21.5 MB · SHA-256 70b540063fbc…ec06 · Hugging Face

Download file

bbox/nsfw_watermarks_s_yolov8_v1.pt

pt · 21.5 MB · SHA-256 78d27f0f5ea3…c57f · Hugging Face

Download file

bbox/pussy.pt

pt · 130 MB · SHA-256 2d19bce715d4…9082 · Hugging Face

Download file

bbox/watermarks_s_yolov8_v1.pt

pt · 21.5 MB · SHA-256 234f6ab07701…4a49 · Hugging Face

Download file

segm/Anzhc Breasts Seg v1 1024m.pt

pt · 52.4 MB · SHA-256 53d15e82a830…b2b4 · Hugging Face

Download file

segm/Anzhc Breasts Seg v1 1024n.pt

pt · 6.58 MB · SHA-256 d469bd7abdcb…b31b · Hugging Face

Download file

segm/Anzhc Breasts Seg v1 1024s.pt

pt · 22.9 MB · SHA-256 413a9b948a40…b395 · Hugging Face

Download file

segm/Anzhc Eyes -seg-hd.pt

pt · 6.59 MB · SHA-256 6be1c13ca7a5…a308 · Hugging Face

Download file

segm/Anzhc Face seg 1024 v2 y8n.pt

pt · 6.63 MB · SHA-256 1bbcfd7a9f40…c6a3 · Hugging Face

Download file

segm/Anzhc Manga Panels -seg.pt

pt · 22.8 MB · SHA-256 915c85e044be…ec3a · Hugging Face

Download file

segm/Anzhcs ManFace v02 1024 y8n.pt

pt · 6.06 MB · SHA-256 184b9a680afb…1b31 · Hugging Face

Download file

segm/Anzhcs WomanFace v05 1024 y8n.pt

pt · 6.07 MB · SHA-256 84db37616e1c…a9c1 · Hugging Face

Download file

segm/breasts_seg.pt

pt · 6.46 MB · SHA-256 87f314a908be…640e · Hugging Face

Download file

segm/deepfashion2_yolov8s-seg.pt

pt · 22.7 MB · SHA-256 6a707d8a3beb…94e0 · Hugging Face

Download file

segm/Eyeful_v2-Individual.pt

pt · 21.5 MB · SHA-256 278fee230b1b…1fbe · Hugging Face

Download file

segm/face_yolov8m-seg_60.pt

pt · 52.3 MB · SHA-256 4a63e08009bc…5c73 · Hugging Face

Download file

segm/face_yolov8n-seg2_60.pt

pt · 6.46 MB · SHA-256 5216e2aba6b4…3494 · Hugging Face

Download file

segm/hair_yolov8n-seg_60.pt

pt · 6.46 MB · SHA-256 3112ced2bd21…1da0 · Hugging Face

Download file

segm/hand_yolov8n.pt

pt · 5.95 MB · SHA-256 f3f23b865741…e174 · Hugging Face

Download file

segm/nipples-yolov8s.pt

pt · 22.7 MB · SHA-256 32ada96a3aad…5436 · Hugging Face

Download file

segm/person_yolov8m-seg.pt

pt · 52.3 MB · SHA-256 c8ab26f51717…e81e · Hugging Face

Download file

segm/person_yolov8n-seg.pt

pt · 6.46 MB · SHA-256 029e36039b53…0fa7 · Hugging Face

Download file

segm/person_yolov8s-seg.pt

pt · 22.7 MB · SHA-256 b5684835e79f…7ef9 · Hugging Face

Download file

segm/piteyedetailer-v1-seg.pt

pt · 22.7 MB · SHA-256 55f1db15ceed…b4a0 · Hugging Face

Download file

segm/PitEyeDetailer-v2-seg.pt

pt · 22.7 MB · SHA-256 0485d0a88983…1675 · Hugging Face

Download file

segm/pitglassesdetailer-v1-seg.pt

pt · 22.7 MB · SHA-256 247354e884a4…fe3a · Hugging Face

Download file

segm/PitGlassesDetailer-v1-seg.pt

pt · 22.7 MB · SHA-256 247354e884a4…fe3a · Hugging Face

Download file

segm/pithanddetailer-v1-seg.pt

pt · 22.7 MB · SHA-256 0b88a8b43eff…4675 · Hugging Face

Download file

segm/skin_yolov8m-seg_400.pt

pt · 52.3 MB · SHA-256 28917daf69ce…8cbb · Hugging Face

Download file

segm/skin_yolov8n-seg_400.pt

pt · 6.51 MB · SHA-256 0fdc28e11cfc…7278 · Hugging Face

Download file

segm/skin_yolov8n-seg_800.pt

pt · 6.52 MB · SHA-256 0dc8136e6278…3dfd · Hugging Face

Download file

segm/wenaka_yolov8s-seg.pt

pt · 22.8 MB · SHA-256 bc3d3b1eedab…7e9a · Hugging Face

Download file

Source excerpts

2 excerpts

--- license: agpl-3.0 tags: - pytorch - yolo - yolov8 - yolov11 library_name: ultralytics base_model: - Ultralytics/YOLOv8 - Ultralytics/YOLO11 datasets: - wider_face - skytnt/anime-segmentation pipeline_tag: object-detection metrics: - mAP50 - mAP50-95 language: - en --- **ComfyUI Ultralytics Integration – Midnight1111 Model Collection** For ComfyUI, here’s how to load these models: 1. **Locate your ComfyUI folder** (e.g. `~/ComfyUI/` or `C:\ComfyUI\`). 2. **Create directories**: ```bash cd /path/to/ComfyUI/models mkdir -p ultralytics/segm ultralytics/bbox ``` 3. Place your .pt files: • Segmentation → models/ultralytics/segm/ • Detection (bbox) → models/ultralytics/bbox/ 4. Restart ComfyUI ```bash cd /path/to/ComfyUI ``` 5. In the UI: Add Node → Model → Ultralytics → choose segm/… or bbox/…. Connect an Image Loader → Ultralytics node → Previewer **Unsafe files** Since getattr is classified as a dangerous pickle function, any segmentation model that uses it is classified as unsafe. All models were created and saved using the official Ultralytics library, so it’s safe to use files downloaded from a trusted source. See also: https://huggingface.co/docs/hub/security-pickle **Note on Loading Weights** If you encounter an error like: ```bash Weights-only load failed. Unsupported global: builtins.set ``` This happens because PyTorch (for safety) blocks loading some objects by default. To fix it safely, add this code before loading: ```bash python ``` ```bash import torch torch.serialization.add_safe_globals([set]) ``` This whitelists set and allows safe loading with `weights_only=True`. Otherwise, never disable weights_only unless you 100% trust the file. Check [PyTorch's torch.load docs](https://pytorch.org/docs/stable/generated/torch.load.html) for more info.

Source context: 4990 downloads · 8 likes · Pipeline object-detection · Library ultralytics · Repo MidnightRunner/Ultralytics