chore(env): Update env setup. (#5)

Update env setup.
This commit is contained in:
Xinjie 2025-06-12 22:09:09 +08:00 committed by GitHub
parent e29807bd62
commit e92dc32423
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 17 additions and 16 deletions

2
.gitignore vendored
View File

@ -58,5 +58,5 @@ output*
*.log *.log
scripts/tools/ scripts/tools/
weights/ weights/
apps/assets/example_texture/
apps/sessions/ apps/sessions/
apps/assets/

1
.gitmodules vendored
View File

@ -2,3 +2,4 @@
path = thirdparty/TRELLIS path = thirdparty/TRELLIS
url = https://github.com/microsoft/TRELLIS.git url = https://github.com/microsoft/TRELLIS.git
branch = main branch = main
shallow = true

View File

@ -7,11 +7,12 @@
[![🤗 Hugging Face](https://img.shields.io/badge/🤗-Text_to_3D_Demo-blue)](https://huggingface.co/spaces/HorizonRobotics/EmbodiedGen-Text-to-3D) [![🤗 Hugging Face](https://img.shields.io/badge/🤗-Text_to_3D_Demo-blue)](https://huggingface.co/spaces/HorizonRobotics/EmbodiedGen-Text-to-3D)
[![🤗 Hugging Face](https://img.shields.io/badge/🤗-Texture_Gen_Demo-blue)](https://huggingface.co/spaces/HorizonRobotics/EmbodiedGen-Texture-Gen) [![🤗 Hugging Face](https://img.shields.io/badge/🤗-Texture_Gen_Demo-blue)](https://huggingface.co/spaces/HorizonRobotics/EmbodiedGen-Texture-Gen)
**EmbodiedGen** is a toolkit to generate diverse and interactive 3D worlds composed of generative 3D assets with plausible physics, leveraging generative AI to address the challenges of generalization in embodied intelligence related research. EmbodiedGen composed of six key modules: `Image-to-3D`, `Text-to-3D`, `Texture Generation`, `Articulated Object Generation`, `Scene Generation` and `Layout Generation`.
<img src="apps/assets/overall.jpg" alt="Overall Framework" width="700"/> <img src="apps/assets/overall.jpg" alt="Overall Framework" width="700"/>
**EmbodiedGen** generates interactive 3D worlds with real-world scale and physical realism at low cost.
--- ---
## ✨ Table of Contents of EmbodiedGen ## ✨ Table of Contents of EmbodiedGen
@ -24,18 +25,17 @@
## 🚀 Quick Start ## 🚀 Quick Start
### ✅ Setup Environment
```sh ```sh
git clone https://github.com/HorizonRobotics/EmbodiedGen.git git clone https://github.com/HorizonRobotics/EmbodiedGen.git
cd EmbodiedGen && git submodule update --init --recursive cd EmbodiedGen
git submodule update --init --recursive --progress
conda create -n embodiedgen python=3.10.13 -y conda create -n embodiedgen python=3.10.13 -y
conda activate embodiedgen conda activate embodiedgen
pip install -r requirements.txt --use-deprecated=legacy-resolver bash install.sh
pip install -e .
``` ```
--- ### 🟢 Setup GPT Agent
## 🟢 Setup GPT Agent
Update the API key in file: `embodied_gen/utils/gpt_config.yaml`. Update the API key in file: `embodied_gen/utils/gpt_config.yaml`.
@ -169,6 +169,7 @@ EmbodiedGen builds upon the following amazing projects and models:
- 🌟 [Diffusion360](https://github.com/ArcherFMY/SD-T2I-360PanoImage) - 🌟 [Diffusion360](https://github.com/ArcherFMY/SD-T2I-360PanoImage)
- 🌟 [kaolin](https://github.com/NVIDIAGameWorks/kaolin) - 🌟 [kaolin](https://github.com/NVIDIAGameWorks/kaolin)
- 🌟 [diffusers](https://github.com/huggingface/diffusers) - 🌟 [diffusers](https://github.com/huggingface/diffusers)
- 🌟 [gsplat](https://github.com/nerfstudio-project/gsplat)
- 🌟 GPT: QWEN2.5VL, GPT4o - 🌟 GPT: QWEN2.5VL, GPT4o
--- ---

View File

@ -505,7 +505,7 @@ def parse_args():
help="Text prompts for the rendering.", help="Text prompts for the rendering.",
) )
args = parser.parse_args() args, unknown = parser.parse_known_args()
if args.uuid is None and args.mesh_path is not None: if args.uuid is None and args.mesh_path is not None:
args.uuid = [] args.uuid = []

View File

@ -35,7 +35,6 @@ clip@git+https://github.com/openai/CLIP.git
kolors@git+https://github.com/Kwai-Kolors/Kolors.git#egg=038818d kolors@git+https://github.com/Kwai-Kolors/Kolors.git#egg=038818d
segment-anything@git+https://github.com/facebookresearch/segment-anything.git#egg=dca509f segment-anything@git+https://github.com/facebookresearch/segment-anything.git#egg=dca509f
nvdiffrast@git+https://github.com/NVlabs/nvdiffrast.git#egg=729261d nvdiffrast@git+https://github.com/NVlabs/nvdiffrast.git#egg=729261d
kaolin@git+https://github.com/NVIDIAGameWorks/kaolin.git@v0.16.0 # https://github.com/nerfstudio-project/gsplat/releases/download/v1.5.0/gsplat-1.5.0+pt24cu118-cp310-cp310-linux_x86_64.whl
https://github.com/nerfstudio-project/gsplat/releases/download/v1.5.0/gsplat-1.5.0+pt24cu118-cp310-cp310-linux_x86_64.whl # https://github.com/Dao-AILab/flash-attention/releases/download/v2.7.0.post2/flash_attn-2.7.0.post2+cu11torch2.4cxx11abiFALSE-cp310-cp310-linux_x86_64.whl
https://github.com/Dao-AILab/flash-attention/releases/download/v2.7.0.post2/flash_attn-2.7.0.post2+cu11torch2.4cxx11abiFALSE-cp310-cp310-linux_x86_64.whl # https://huggingface.co/xinjjj/RoboAssetGen/resolve/main/wheel_cu118/diff_gaussian_rasterization-0.0.0-cp310-cp310-linux_x86_64.whl
https://huggingface.co/xinjjj/RoboAssetGen/resolve/main/wheel_cu118/diff_gaussian_rasterization-0.0.0-cp310-cp310-linux_x86_64.whl