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 .github/workflows/cpu.yml from ecnu-icalk/ArgoWM: direct link, hf CLI and curl.
- Browser
- Download file 781 Bytes
-
https://huggingface.co/ecnu-icalk/ArgoWM/resolve/main/.github/workflows/cpu.yml
- Command line
-
hf download hf://ecnu-icalk/ArgoWM/.github/workflows/cpu.yml
-
curl -L -o cpu.yml https://huggingface.co/ecnu-icalk/ArgoWM/resolve/main/.github/workflows/cpu.yml
781 Bytes
| name: CPU contracts | |
| on: [push, pull_request] | |
| jobs: | |
| contracts: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| cache: pip | |
| cache-dependency-path: requirements/cpu.txt | |
| - run: python -m pip install -r requirements/cpu.txt | |
| - run: python -m pip install --no-deps -e . | |
| - run: python -m compileall -q src scripts | |
| - run: >- | |
| python -m unittest -v | |
| tests.test_release_data tests.test_release_config tests.test_mainline_protocols | |
| tests.test_text_executor_release | |
| tests.test_evaluation_io tests.test_image_evaluation_workers | |
| tests.test_image_geometry_evaluation tests.test_v9_image_metrics | |