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

[Bug]: raise JSONDecodeError("Expecting value", s, err.value) from None #1821

Open
1 task done
shanpenghui opened this issue Sep 9, 2023 · 0 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@shanpenghui
Copy link

shanpenghui commented Sep 9, 2023

What happened?

A bug happened!
When I try to launch the WebUI, I got the error info:

Found LDSR Loading model from models/ldm/stable-diffusion-v1/model.ckpt Global Step: 470000 LatentDiffusion: 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 F:\sygil-webui\scripts\scn2img.py:1835: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details. def depth_reprojection( F:\sygil-webui\scripts\scn2img.py:1869: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details. def transform_image_3d( F:\sygil-webui\frontend\frontend.py:75: GradioDeprecationWarning: The stylemethod is deprecated. Please set these arguments in the constructor instead. with gr.Row(elem_id="body").style(equal_height=False): F:\sygil-webui\frontend\frontend.py:129: GradioDeprecationWarning: Thestyle method is deprecated. Please set these arguments in the constructor instead. output_txt2img_gallery = gr.Gallery( F:\sygil-webui\frontend\frontend.py:129: GradioDeprecationWarning: The 'grid' parameter will be deprecated. Please use 'columns' in the constructor instead. output_txt2img_gallery = gr.Gallery( Traceback (most recent call last): File "scripts/webui.py", line 3730, in <module> demo = draw_gradio_ui( File "F:\sygil-webui\frontend\frontend.py", line 290, in draw_gradio_ui ) = txt2img_job_ui.wrap_func( File "F:\sygil-webui\frontend\job_manager.py", line 103, in wrap_func return self._job_manager._wrap_func( File "F:\sygil-webui\frontend\job_manager.py", line 461, in _wrap_func self._session_key = gr.JSON( File "C:\Users\shanph\.conda\envs\ldm\lib\site-packages\gradio\components\json_component.py", line 58, in __init__ IOComponent.__init__( File "C:\Users\shanph\.conda\envs\ldm\lib\site-packages\gradio\components\base.py", line 182, in __init__ else self.postprocess(initial_value) File "C:\Users\shanph\.conda\envs\ldm\lib\site-packages\gradio\components\json_component.py", line 111, in postprocess return json.loads(y) File "C:\Users\shanph\.conda\envs\ldm\lib\json\__init__.py", line 357, in loads return _default_decoder.decode(s) File "C:\Users\shanph\.conda\envs\ldm\lib\json\decoder.py", line 340, in decode raise JSONDecodeError("Extra data", s, end) json.decoder.JSONDecodeError: Extra data: line 1 column 8 (char 7) Relauncher: Process is ending. Relaunching in 1s... Relaunch count: 4 Relauncher: Launching...

屏幕截图 2023-09-09 190631

Hope the help! Thank you very much!

Version

0.0.1 (Default)

What browsers are you seeing the problem on?

No response

Where are you running the webui?

No response

Custom settings

No response

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@shanpenghui shanpenghui added the bug Something isn't working label Sep 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant