Am getting a bug when I attempt to run it locally

#2
by elioonpc - opened

the server runs but when i atempt to run the text to 3dmesh after passing 20 iterations it shoots me this error
windows 10
rtx 2060

Entered generate function...
Creating txt2mesh model...
Downloading txt2mesh checkpoint...
Creating upsample model...
Downloading upsampler checkpoint...
Sampling...
Traceback (most recent call last):
File "C:\Users\mynameisjeff\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\gradio\routes.py", line 322, in run_predict
output = await app.get_blocks().process_api(
File "C:\Users\mynameisjeff\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\gradio\blocks.py", line 1015, in process_api
result = await self.call_function(
File "C:\Users\mynameisjeff\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\gradio\blocks.py", line 833, in call_function
prediction = await anyio.to_thread.run_sync(
File "C:\Users\mynameisjeff\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "C:\Users\mynameisjeff\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "C:\Users\mynameisjeff\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\anyio_backends_asyncio.py", line 867, in run
result = context.run(func, *args)
File "C:\Windows\System32\point-e\app.py", line 112, in generate_3D
for x in sampler.sample_batch_progressive(batch_size=1, model_kwargs=kw_args):
File "C:\Users\mynameisjeff\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\point_e\diffusion\sampler.py", line 163, in sample_batch_progressive
for x in samples_it:
File "C:\Users\mynameisjeff\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\point_e\diffusion\k_diffusion.py", line 181, in karras_sample_progressive
for obj in sample_fn(
File "C:\Users\mynameisjeff\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\torch\autograd\grad_mode.py", line 43, in generator_context
response = gen.send(None)
File "C:\Users\mynameisjeff\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\point_e\diffusion\k_diffusion.py", line 265, in sample_heun
denoised = denoiser(x, sigma_hat * s_in)
File "C:\Users\mynameisjeff\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\point_e\diffusion\k_diffusion.py", line 173, in guided_denoiser
x_0 = denoiser(x_t, sigma)
File "C:\Users\mynameisjeff\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\point_e\diffusion\k_diffusion.py", line 160, in denoiser
_, denoised = model.denoise(
File "C:\Users\mynameisjeff\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\point_e\diffusion\k_diffusion.py", line 99, in denoise
t = th.tensor(
TypeError: 'float' object cannot be interpreted as an integer

I'd recommend just trying it at https://app.mirageml.com!

Sign up or log in to comment