Image-to-Image
Diffusers
Safetensors
English
agriculture
world-model
plant-growth
developmental-reasoning
image-editing
rice
maize
research
Instructions to use ecnu-icalk/ArgoWM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ecnu-icalk/ArgoWM with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ecnu-icalk/ArgoWM", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Download scripts/run_executor_inference.py from ecnu-icalk/ArgoWM: direct link, hf CLI and curl.
- Browser
- Download file 376 Bytes
-
https://huggingface.co/ecnu-icalk/ArgoWM/resolve/main/scripts/run_executor_inference.py
- Command line
-
hf download hf://ecnu-icalk/ArgoWM/scripts/run_executor_inference.py
-
curl -L -o run_executor_inference.py https://huggingface.co/ecnu-icalk/ArgoWM/resolve/main/scripts/run_executor_inference.py
376 Bytes
| #!/usr/bin/env python3 | |
| """CLI entry point for resumable Qwen Image 2.1 executor inference.""" | |
| from __future__ import annotations | |
| import sys | |
| from pathlib import Path | |
| REPO_ROOT = Path(__file__).resolve().parents[1] | |
| sys.path.insert(0, str(REPO_ROOT / "src")) | |
| from wgsr_v9.executor_inference import main # noqa: E402 | |
| if __name__ == "__main__": | |
| raise SystemExit(main()) | |