MeshAnythingV2
Contents Installation Usage Important Notes Acknowledgement BibTeX
Fonte do modelo
- Tipo
- Text model
- Tamanho do arquivo
- 1,87 GB
- Versão
- v350m
- Atualizado
- 15 de set. de 2026
- Downloads
- 862
- Fonte
- Hugging Face
Trecho da fonte
Contents Installation Usage Important Notes Acknowledgement BibTeX
Fontes
1 fonte
Fontes
1 fonteVerificado 1 de set.
Download files
Artefatos de modelo
2 artefatos
Artefatos de modelo
2 artefatosTrechos de fonte
2 trechos
Trechos de fonte
2 trechos--- license: mit pipeline_tag: image-to-3d tags: - model_hub_mixin - pytorch_model_hub_mixin --- # MeshAnythingV2 Library: [https://github.com/buaacyw/MeshAnythingV2](https://github.com/buaacyw/MeshAnythingV2) ## Contents - [Contents](#contents) - [Installation](#installation) - [Usage](#usage) - [Important Notes](#important-notes) - [Acknowledgement](#acknowledgement) - [BibTeX](#bibtex) ## Installation Our environment has been tested on Ubuntu 22, CUDA 11.8 with A800. 1. Clone our repo and create conda environment ``` git clone https://github.com/buaacyw/MeshAnythingV2.git && cd MeshAnythingV2 conda create -n MeshAnythingV2 python==3.10.13 -y conda activate MeshAnythingV2 pip install torch==2.1.1 torchvision==0.16.1 torchaudio==2.1.1 --index-url https://download.pytorch.org/whl/cu118 pip install -r requirements.txt pip install flash-attn --no-build-isolation pip install -U gradio ``` ## Usage ### For text/image to Artist-Create Mesh. We suggest using [Rodin](https://hyperhuman.deemos.com/rodin) to first achieve text or image to dense mesh. And then input the dense mesh to us. ``` # Put the output obj file of Rodin to rodin_result and using the following command to generate the Artist-Created Mesh. # We suggest using the --mc flag to preprocess the input mesh with Marching Cubes first. This helps us to align the inference point cloud to our training domain. python main.py --input_dir rodin_result --out_dir mesh_output --input_type mesh --mc ``` ### Local Gradio Demo <a href='https://github.com/gradio-app/gradio'><img src='https://img.shields.io/github/stars/gradio-app/gradio'></a> ``` python app.py ``` ### Mesh Command line inference #### Important Notes: If your mesh input is not produced by Marching Cubes, We suggest you to preprocess the mesh with Marching Cubes first (simply by adding --mc). ``` # folder input python main.py --input_dir examples --out_dir mesh_output --input_type mesh # single file input python main.py --input_path examples/wand.obj --out_dir mesh_output --input_type mesh # Preprocess with Marching Cubes first python main.py --input_dir examples --out_dir mesh_output --input_type mesh --mc # The mc resolution is default to be 128. For some delicate mesh, this resolution is not sufficient. Raise this resolution takes more time to preprocess but should achieve a better result. # Change it by : --mc_level 7 -> 128 (2^7), --mc...
Source context: 862 downloads · 26 likes · Pipeline image-to-3d · Repo Yiwen-ntu/MeshAnythingV2
