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

AssertionError: No event data #475

Open
TheLearner23 opened this issue Jul 19, 2023 · 12 comments
Open

AssertionError: No event data #475

TheLearner23 opened this issue Jul 19, 2023 · 12 comments

Comments

@TheLearner23
Copy link

Could you please help me figure out why I'm getting this error when I run python gradio_canny2image.py as soon as I hit run of the UI????

python gradio_canny2image.py
logging improved.
No module 'xformers'. Proceeding without it.
ControlLDM: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
making attention of type 'vanilla' with 512 in_channels
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
making attention of type 'vanilla' with 512 in_channels
Loaded model config from [./models/cldm_v15.yaml]
Loaded state_dict from [./models/control_sd15_canny.pth]
Running on local URL: http://myurladdress:7860

To create a public link, set share=True in launch().
Task exception was never retrieved
future: <Task finished name='d0g4v540ncr_0' coro=<Queue.process_events() done, defined at C:\Users\username\AppData\Local\anaconda3\envs\control\lib\site-packages\gradio\queueing.py:324> exception=AssertionError('No event data')>
Traceback (most recent call last):
File "C:\Users\username\AppData\Local\anaconda3\envs\control\lib\site-packages\gradio\queueing.py", line 338, in process_events
response = await self.call_prediction(awake_events, batch)
File "C:\Users\username\AppData\Local\anaconda3\envs\control\lib\site-packages\gradio\queueing.py", line 298, in call_prediction
assert data is not None, "No event data"
AssertionError: No event data

@nutsintheshell
Copy link

the same error occurred on my server.

@m-violet-s
Copy link

the same problem. Has anyone solved it? Please help ! Thanks

@xy-cong
Copy link

xy-cong commented Jul 24, 2023

the same error as well!

@potryasas
Copy link

same

@AnaisAtos
Copy link

Same error here. I tried to update gradio but nothing changed.

@hxg-ai
Copy link

hxg-ai commented Jul 25, 2023

pip install gradio==3.38.0

@potryasas
Copy link

conda activate control
python -m pip install --upgrade pip
pip install gradio

fixed for me

@AnaisAtos
Copy link

conda activate control python -m pip install --upgrade pip pip install gradio

fixed for me

Worked for me too, thank you !

@albertotono
Copy link

Anyone with a similar error instead #492 . In this case there is no error message. Just loading forever

@linrio
Copy link

linrio commented Aug 28, 2023

same

@cd123-cd
Copy link

我一开始遇到的问题是点击run没反应,然后就关闭浏览器再打开在上传图像出现楼主一样的错误,后来更新一下gradio没反应,最后干脆指定版本3.38.0,解决了

@iris0329
Copy link

pip install gradio==3.40.1 solved it for me

accoring to this issue:
#492 (comment)

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