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.49k stars 351 forks source link

在gradio图像界面上生成六视角图片时出错 #171

Open EnchantSimon opened 1 month ago

EnchantSimon commented 1 month ago

1715379787336

其他的地方都没有发现问题,就是在这个gradio图像界面生成六视角图片的时候超时,然后生成不出来,以下是报错代码:

(wonder3d) C:\Users\26596\Wonder3D>python gradio_app.py A matching Triton is not available, some optimizations will not be enabled. Error caught was: No module named 'triton' C:\Users\26596\AppData\Local\conda\conda\envs\wonder3d\lib\site-packages\huggingface_hub\file_download.py:1132: FutureWarning: resume_download is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use force_download=True. warnings.warn( You have disabled the safety checker for <class 'mvdiffusion.pipelines.pipeline_mvdiffusion_image.MVDiffusionImagePipeline'> by passing safety_checker=None. Ensure that you abide to the conditions of the Stable Diffusion license and do not expose unfiltered results in services or applications open to the public. Both the diffusers team and Hugging Face strongly recommend to keep the safety filter enabled in all public facing circumstances, disabling it only for use-cases that involve analyzing network behavior or auditing its results. For more information, please have a look at https://github.com/huggingface/diffusers/pull/254 . Running on local URL: http://127.0.0.1:7860 IMPORTANT: You are using gradio version 3.50.2, however version 4.29.0 is available, please upgrade.

Running on public URL: https://740c67e50d320ec5b6.gradio.live

This share link expires in 72 hours. For free permanent hosting and GPU upgrades, run gradio deploy from Terminal to deploy to Spaces (https://huggingface.co/spaces) SAM Time: 11.356s C:\Users\26596\Wonder3D\mvdiffusion\data\single_image_dataset.py:277: UserWarning: Creating a tensor from a list of numpy.ndarrays is extremely slow. Please consider converting the list to a single numpy.ndarray with numpy.array() before converting to a tensor. (Triggered internally at C:\actions-runner_work\pytorch\pytorch\builder\windows\pytorch\torch\csrc\utils\tensor_new.cpp:233.) elevations = torch.as_tensor(elevations).float().squeeze(1)

*C:\Users\26596\AppData\Local\conda\conda\envs\wonder3d\lib\site-packages\rembg\sessions\base.py:52: RuntimeWarning: invalid value encountered in divide im_ary = im_ary / np.max(im_ary) C:\Users\26596\AppData\Local\conda\conda\envs\wonder3d\lib\site-packages\rembg\sessions\u2net.py:44: RuntimeWarning: invalid value encountered in cast mask = Image.fromarray((pred 255).astype("uint8"), mode="L")