本镜像需要 48GB显存及以上显存运行,推荐4090 48G、A800等资源
cd /root/HunyuanWorld-1.0
conda activate HunyuanWorld
完成后继续执行脚本
bash scripts/test.sh
#!/bin/bash
set -eo pipefail # 遇到错误立即退出
export HF_ENDPOINT=https://hf-mirror.com
CUDA_VISIBLE_DEVICES=0 python3 demo_panogen.py --prompt "" --image_path examples/case1/input.png --output_path test_results/case1
CUDA_VISIBLE_DEVICES=0 python3 demo_scenegen.py --image_path test_results/case1/panorama.png --classes outdoor --output_path test_results/case1
Using super-resolution input image 🎨 Start to compose the world layer by layer... 🏞️ Composing the background layer... 🕐 Composing the sky layer... 🎉 Congratulations! World composition completed successfully! ####【有这个提示就是完成✅】
官方更新源码在这里: https://github.com/Tencent-Hunyuan/HunyuanWorld-1.0
有bug请微信科哥: 312088415