OpenGVLab / DragGAN

Unofficial Implementation of DragGAN - "Drag Your GAN: Interactive Point-based Manipulation on the Generative Image Manifold" (DragGAN 全功能实现,在线Demo,本地部署试用,代码、模型已全部开源,支持Windows, macOS, Linux)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] It says AssertionError

tjhshiwo opened this issue · comments

I used docker image to run the app and it showed error in the webpage after running the container:

error page:
image

trace log of the container:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/gradio/routes.py", line 406, in run_predict
event_data=event_data,
File "/usr/local/lib/python3.7/site-packages/gradio/blocks.py", line 1297, in process_api
inputs = self.preprocess_data(fn_index, inputs, state)
File "/usr/local/lib/python3.7/site-packages/gradio/blocks.py", line 1145, in preprocess_data
processed_input.append(block.preprocess(inputs[i]))
File "/usr/local/lib/python3.7/site-packages/gradio/components.py", line 1780, in preprocess
assert isinstance(x, dict)
AssertionError

Not sure what the problem it is now, but refresh or restart the app may help.