Dev2506's picture
Add files using upload-large-folder tool
15d68eb verified
|
Raw
History Blame Contribute Delete
3.17 kB
# Examples β€” Indic Heritage Studio v2
This directory contains pre-baked demo outputs for the project profile PDF
and the demo video. Run `python scripts/generate_demo_outputs.py` to
generate the full gallery on your dev box before recording the AMD demo.
## Structure
```
examples/
β”œβ”€β”€ README.md ← this file
β”œβ”€β”€ inputs/ ← source images used for style transfer / video / inpainting
β”‚ β”œβ”€β”€ portrait.jpg
β”‚ β”œβ”€β”€ landscape.jpg
β”‚ └── portrait_mask.png
β”œβ”€β”€ 1_text_to_image/ ← 5 styles Γ— 3 prompts Γ— 3 seeds = 45 images
β”‚ β”œβ”€β”€ madhubani/
β”‚ β”œβ”€β”€ warli/
β”‚ β”œβ”€β”€ pattachitra/
β”‚ β”œβ”€β”€ mughal/
β”‚ └── tanjore/
β”œβ”€β”€ 2_style_transfer/ ← 5 styles Γ— 2 input images = 10 styled images
β”‚ β”œβ”€β”€ madhubani/
β”‚ β”œβ”€β”€ warli/
β”‚ └── …
β”œβ”€β”€ 3_image_to_video/ ← 5 styles Γ— 25-frame MP4 = 5 videos
β”‚ β”œβ”€β”€ madhubani.mp4
β”‚ └── …
β”œβ”€β”€ 5_inpainting/ ← 1 inpainting demo
└── 6_controlnet/ ← 1 ControlNet demo (canny + mughal)
```
## Demo video script (3-5 min)
1. **0:00 β€” Title card + intro (15s)**
- "Indic Heritage Studio β€” multimodal heritage art generation on AMD Radeon + ROCm"
2. **0:15 β€” GPU verification (15s)**
- `rocm-smi` visible in terminal
- `python scripts/verify_rocm.py` shows ROCm ready
3. **0:30 β€” Text β†’ Image demo (60s)**
- Run: `python -m core.text_to_image --prompt "..." --style madhubani --size 1024`
- Show output PNG
- Mention: "SDXL 1.0 + per-style LoRA, 1024Γ—1024 native"
4. **1:30 β€” Style transfer demo (45s)**
- Run: `python -m core.style_transfer --image examples/inputs/portrait.jpg --style mughal`
- Show before/after
- Mention: "IP-Adapter XL on SDXL, 30 steps"
5. **2:15 β€” Image β†’ Video demo (45s)**
- Run: `python -m core.image_to_video --image outputs/demo_styled_mughal.png --out outputs/demo.mp4`
- Play the 25-frame MP4
- Mention: "Stable Video Diffusion XT 1.1, 25 frames at 8 fps"
6. **3:00 β€” Inpainting + ControlNet demo (45s)**
- Quick show of inpainting output
- Quick show of ControlNet (canny β†’ mughal)
7. **3:45 β€” Multi-GPU benchmark (30s)**
- `python scripts/benchmark.py --configs 1 2 4 8 --samples 4`
- Show scaling chart
8. **4:15 β€” UI walkthrough (30s)**
- `python app.py` β†’ walk through all 6 tabs in browser
9. **4:45 β€” Closing (15s)**
- "Track 1, TeamIndicForge, Indic Heritage Studio β€” submitted."
## Pre-baking strategy
Run `python scripts/generate_demo_outputs.py` on your 8Γ—80GB NVIDIA dev box
in Week 2. This takes ~30 minutes and produces every demo asset. The AMD
demo recording (Aug 4) then only needs to *re-run* a few commands live for
the camera β€” the actual outputs already exist as fallback if AMD
generation fails.
## Curating the gallery for the PDF
After generating, curate:
- Pick 1 best image per style for the PDF cover
- Pick 1 best video for the PDF embedded figure
- Pick the most visually striking ControlNet result
- Pick a 2Γ—2 grid showing 4 styles for the architecture section