xxlong0 / Wonder3D

Single Image to 3D using Cross-Domain Diffusion for 3D Generation
https://www.xxlong.site/Wonder3D/
GNU Affero General Public License v3.0
4.71k stars 373 forks source link

有没有类似中文教程?权重安装太慢?Are there similar Chinese courses? Weight installation Too Slow? #182

Closed llmgpt closed 2 months ago

llmgpt commented 2 months ago

权重安装太慢了,有没有最近的中文教程可以用?ubuntu20.02一些报错实在不好解决。

llmgpt commented 2 months ago
if dtype is not None and torch.is_floating_point(param) and param.dtype != torch.float8_e4m3fn:

AttributeError: module 'torch' has no attribute 'float8_e4m3fn' 使用useage时,比如这种要求torch>2.2.0,但本身不是只要torch=1.13.1就行了吗?

llmgpt commented 2 months ago

pip install -r requirement.txt时,我使用的python=3.10,不能编译PyMCubes Failed to build PyMCubes ERROR: Could not build wheels for PyMCubes, which is required to install pyproject.toml-based projects

llmgpt commented 2 months ago

如果使用python=3.9,可以成功pip install -r requirement.txt,pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch,但缺少triton。新的报错: RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 64: invalid start byte OSError: Unable to load weights from pytorch checkpoint file for './ckpts/image_encoder/pytorch_model.bin' at './ckpts/image_encoder/pytorch_model.bin'. If you tried to load a PyTorch model from a TF 2.0 checkpoint, please set from_tf=True. aise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)

llmgpt commented 2 months ago

权重在huggingface下载了,才有效果。onerive的有损坏。现在的问题又回到了最初的样子,torch版本1.13.1没有,只有2.2.0以后才有。 AttributeError: module 'torch' has no attribute 'float8_e4m3fn'

llmgpt commented 2 months ago

transformers包等级太高,指定4.25.1,成功运行。