nod-ai / SHARK-Studio

SHARK Studio -- Web UI for SHARK+IREE High Performance Machine Learning Distribution
Apache License 2.0
1.42k stars 170 forks source link

Expecting value: line 1 column 1 (char 0) #1081

Open sucaiji opened 1 year ago

sucaiji commented 1 year ago

windows10 7900xt

this is console start log

shark_tank local cache is located at C:\Users\***\.local/shark_tank/ . You may change this by setting the --local_tank_cache= flag
vulkan devices are available.
cuda devices are not available.
Running on local URL:  http://0.0.0.0:8080

To create a public link, set `share=True` in `launch()`.

I can vist http://localhost:8080/, but when I generate image, page reported an error:

Something went wrong
Expecting value: line 1 column 1 (char 0)

only this reported, console hasn't new message.

How could I get more logs, to fix this problem?

powderluv commented 1 year ago

What is the exe version you are using ?

powderluv commented 1 year ago

That is usually a JSON error. You can try starting with --clear_all

sucaiji commented 1 year ago

What is the exe version you are using ?

539 I think maybe is the model incompatible, I put "anything-v4.5-pruned.ckpt" on d:/shark/models and chose it, the error was happened. But when I chose the built-in model, it can be worked. Does Shark not support ckpt model?

sucaiji commented 1 year ago

When I upgrated to Version 568, used built-in model also have same error. G}QN{PDGGG)8X`~(`U%P%L1

And console don't appear any error message. 2C_QM{KE}ECXILPHH_S}UTX

codTango commented 1 year ago

I'm seeing the same error with RX580 on win10, I'm using the latest version of exe (shark_sd_20230302_579), and tried 20230225.568. @powderluv I tried to start the exe with --clear_all, and I still get the same error.

M330570912 commented 1 year ago

I have the same issue. luckily I fixed it by download a cli version first, and run it. It will automatically download needed files. Then I delete the cli.exe, replaced by the normal exe version, run it and everything went successfully.

My enviroment: windows 11 & 7900xt, shark_sd_cli_20230411_671.exe & shark_sd_20230411_671.exe

Bunny0333 commented 1 year ago

@sucaiji I used to have the same problem. I finally found out that it was because I set up a transparent proxy to intercept the request from localhost(127.0.0.1). If you also use a proxy, please confirm your routing rules. You can turn off the proxy and see if that makes a difference.