TencentARC / InstantMesh

InstantMesh: Efficient 3D Mesh Generation from a Single Image with Sparse-view Large Reconstruction Models
Apache License 2.0
3.26k stars 347 forks source link

Loading diffusion model ... Loading pipeline components...: 12% #131

Open nagexiaochengzi opened 3 months ago

nagexiaochengzi commented 3 months ago

/tmp/tmppngxpwds.obj Traceback (most recent call last): File "/home/jkx/anaconda3/envs/InstantMesh/lib/python3.10/site-packages/gradio/queueing.py", line 536, in process_events response = await route_utils.call_process_api( File "/home/jkx/anaconda3/envs/InstantMesh/lib/python3.10/site-packages/gradio/route_utils.py", line 276, in call_process_api output = await app.get_blocks().process_api( File "/home/jkx/anaconda3/envs/InstantMesh/lib/python3.10/site-packages/gradio/blocks.py", line 1923, in process_api result = await self.call_function( File "/home/jkx/anaconda3/envs/InstantMesh/lib/python3.10/site-packages/gradio/blocks.py", line 1508, in call_function prediction = await anyio.to_thread.run_sync( # type: ignore File "/home/jkx/anaconda3/envs/InstantMesh/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "/home/jkx/anaconda3/envs/InstantMesh/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2177, in run_sync_in_worker_thread return await future File "/home/jkx/anaconda3/envs/InstantMesh/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 859, in run result = context.run(func, args) File "/home/jkx/anaconda3/envs/InstantMesh/lib/python3.10/site-packages/gradio/utils.py", line 818, in wrapper response = f(args, kwargs) File "/home/jkx/projects/mjz/InstantMesh/InstantMesh/app.py", line 202, in make3d planes = model.forward_planes(images, input_cameras) File "/home/jkx/projects/mjz/InstantMesh/InstantMesh/src/models/lrm_mesh.py", line 98, in forward_planes planes = self.transformer(image_feats) File "/home/jkx/anaconda3/envs/InstantMesh/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl return forward_call(*args, *kwargs) File "/home/jkx/projects/mjz/InstantMesh/InstantMesh/src/models/decoder/transformer.py", line 111, in forward x = layer(x, image_feats) File "/home/jkx/anaconda3/envs/InstantMesh/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl return forward_call(args, kwargs) File "/home/jkx/projects/mjz/InstantMesh/InstantMesh/src/models/decoder/transformer.py", line 61, in forward x = x + self.self_attn(before_sa, before_sa, before_sa)[0] File "/home/jkx/anaconda3/envs/InstantMesh/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl return forward_call(*args, kwargs) File "/home/jkx/anaconda3/envs/InstantMesh/lib/python3.10/site-packages/torch/nn/modules/activation.py", line 1160, in forward return torch._native_multi_head_attention( TypeError: _native_multi_head_attention(): argument 'qkv_bias' (position 7) must be Tensor, not NoneType**

AbhinavJangra29 commented 2 months ago

same, did you find anything?