Skip to content

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

@shanpenghui

Description

@shanpenghui

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions