InstantMesh icon indicating copy to clipboard operation
InstantMesh copied to clipboard

why i am getting this error

Open harinandyala4 opened this issue 1 year ago • 8 comments

error

May i know the size of gpu required to run the this model

harinandyala4 avatar Sep 23 '24 08:09 harinandyala4

Happens to me as well, i got this warning in the console maybe is related? UserWarning: The given NumPy array is not writable, and PyTorch does not support non-writable tensors. This means writing to this tensor will result in undefined behavior. You may want to copy the array to protect its data or make it writable before converting it to a tensor. This type of warning will be suppressed for the rest of this program. (Triggered internally at ..\torch\csrc\utils\tensor_numpy.cpp:212.)

gidon321 avatar Sep 24 '24 08:09 gidon321

I am getting the same issue with no console log indicating a problem. I added debug=True to the demo launch in app.py and still am not seeing any indication of what the problem is.

CarterYancey avatar Sep 26 '24 20:09 CarterYancey

Upgrading to gradio 4 solved it for me

CarterYancey avatar Sep 26 '24 21:09 CarterYancey

Upgrading to gradio 4 solved it for me

Which version gradio exactly did you upgrade to?

Darth-Carrotpie avatar Dec 02 '24 21:12 Darth-Carrotpie

upgrading to gradio 4.0.0 does not work for me.

Emir-Liu avatar Jan 15 '25 05:01 Emir-Liu

upgrading to gradio 4.0.0 does not work for me.

gradio with 5.12.0 works well for me. pip install -U gradio at 1/16/2025

zeyuanyin avatar Jan 16 '25 21:01 zeyuanyin

upgrading to gradio 4.0.0 does not work for me.

gradio with 5.12.0 works well for me. pip install -U gradio at 1/16/2025

Thanks! This works for me. For anyone who still faces the issue. I'm on windows 11 And the below versions work for me:

gradio==5.12.0
huggingface-hub==0.25.2
einops==0.8.0
omegaconf==2.3.0
torchmetrics==1.6.1
webdataset==0.2.100
accelerate==0.31.0
tensorboard==2.18.0
PyMCubes==0.1.6
trimesh==4.5.3
rembg==2.0.61
transformers==4.45.0
diffusers==0.20.2

Welly0902 avatar Mar 02 '25 15:03 Welly0902

What version of tokenizers is you have installed? @Welly0902

TZECHIN6 avatar Mar 25 '25 08:03 TZECHIN6