Instructions to use wiikoo/ComfyUI-Models-Backup-20250821 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use wiikoo/ComfyUI-Models-Backup-20250821 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("wiikoo/ComfyUI-Models-Backup-20250821", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Upload custom_nodes/comfyui_controlnet_aux/src/custom_mmpkg/custom_mmseg/core/evaluation/__init__.py with huggingface_hub
Browse files
custom_nodes/comfyui_controlnet_aux/src/custom_mmpkg/custom_mmseg/core/evaluation/__init__.py
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from .class_names import get_classes, get_palette
|
| 2 |
+
from .eval_hooks import DistEvalHook, EvalHook
|
| 3 |
+
from .metrics import eval_metrics, mean_dice, mean_fscore, mean_iou
|
| 4 |
+
|
| 5 |
+
__all__ = [
|
| 6 |
+
'EvalHook', 'DistEvalHook', 'mean_dice', 'mean_iou', 'mean_fscore',
|
| 7 |
+
'eval_metrics', 'get_classes', 'get_palette'
|
| 8 |
+
]
|