Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to generate keyframe #88

Open
aldrichzhang0612 opened this issue Sep 9, 2024 · 1 comment
Open

Unable to generate keyframe #88

aldrichzhang0612 opened this issue Sep 9, 2024 · 1 comment

Comments

@aldrichzhang0612
Copy link

"Hi everyone, when I deploy the model I can generate image cues fine, but when I try to generate video keyframes I keep getting an error."
**_The error message is as follows:
Load to GPU: CLIPTextModel
Unload to CPU: CLIPTextModel
Load to GPU: ModifiedUNet
Traceback (most recent call last):
File "H:\AI\aldrich\Paints-UNDO\env\lib\site-packages\gradio\routes.py", line 738, in predict
output = await route_utils.call_process_api(
File "H:\AI\aldrich\Paints-UNDO\env\lib\site-packages\gradio\route_utils.py", line 270, in call_process_api
output = await app.get_blocks().process_api(
File "H:\AI\aldrich\Paints-UNDO\env\lib\site-packages\gradio\blocks.py", line 1908, in process_api
result = await self.call_function(
File "H:\AI\aldrich\Paints-UNDO\env\lib\site-packages\gradio\blocks.py", line 1485, in call_function
prediction = await anyio.to_thread.run_sync(
File "H:\AI\aldrich\Paints-UNDO\env\lib\site-packages\anyio\to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "H:\AI\aldrich\Paints-UNDO\env\lib\site-packages\anyio_backends_asyncio.py", line 2177, in run_sync_in_worker_thread
return await future
File "H:\AI\aldrich\Paints-UNDO\env\lib\site-packages\anyio_backends_asyncio.py", line 859, in run
result = context.run(func, *args)
File "H:\AI\aldrich\Paints-UNDO\env\lib\site-packages\gradio\utils.py", line 808, in wrapper
response = f(*args, **kwargs)
File "H:\AI\aldrich\Paints-UNDO\env\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "H:\AI\aldrich\Paints-UNDO\gradio_app.py", line 136, in process
latents = k_sampler(
File "H:\AI\aldrich\Paints-UNDO\env\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "H:\AI\aldrich\Paints-UNDO\diffusers_helper\k_diffusion.py", line 143, in call
results = sample_dpmpp_2m(self.k_model, latents, sigmas, extra_args=sampler_kwargs, progress_tqdm=progress_tqdm)
File "H:\AI\aldrich\Paints-UNDO\env\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "H:\AI\aldrich\Paints-UNDO\diffusers_helper\k_diffusion.py", line 19, in sample_dpmpp_2m
denoised = model(x, sigmas[i] * s_in, extra_args)
IndexError: only integers, slices (:), ellipsis (...), None and long or byte Variables are valid indices (got Progress)

Below is my hardware environment:
CPU:Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz 2.40 GHz
GPU:NVIDIA GeForce GTX 1650
System Specifications:Windows 10

I'd really appreciate your help with this, thanks a lot!

@FurkanGozukara
Copy link

i published installers : #100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants