Instructions to use georgefen/Face-Landmark-ControlNet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use georgefen/Face-Landmark-ControlNet with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("georgefen/Face-Landmark-ControlNet") pipe = StableDiffusionControlNetPipeline.from_pretrained( "fill-in-base-model", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
Download annotator/uniformer/mmcv/engine/__init__.py from georgefen/Face-Landmark-ControlNet: direct link, hf CLI and curl.
- Browser
- Download file 266 Bytes
-
https://huggingface.co/georgefen/Face-Landmark-ControlNet/resolve/main/annotator/uniformer/mmcv/engine/__init__.py
- Command line
-
hf download hf://georgefen/Face-Landmark-ControlNet/annotator/uniformer/mmcv/engine/__init__.py
-
curl -L -o __init__.py https://huggingface.co/georgefen/Face-Landmark-ControlNet/resolve/main/annotator/uniformer/mmcv/engine/__init__.py
266 Bytes
| # Copyright (c) OpenMMLab. All rights reserved. | |
| from .test import (collect_results_cpu, collect_results_gpu, multi_gpu_test, | |
| single_gpu_test) | |
| __all__ = [ | |
| 'collect_results_cpu', 'collect_results_gpu', 'multi_gpu_test', | |
| 'single_gpu_test' | |
| ] | |