ihmily / outfit-anyone

Outfit Anyone(最新修复版): Ultra-high quality virtual try-on for Any Clothing and Any Person
Apache License 2.0
551 stars 48 forks source link

运行的时候报错,现在是无法访问了吗? #8

Open baoyuchen opened 2 months ago

baoyuchen commented 2 months ago

Could not parse server response: SyntaxError: Unexpected token 'I', "Internal S"... is not valid JSON

If you got this error by calling handler() within __get_pydantic_core_schema__ then you likely need to call handler.generate_schema(<some type>) since we do not call __get_pydantic_core_schema__ on <some type> otherwise to avoid infinite recursion.

For further information visit https://errors.pydantic.dev/2.9/u/schema-for-unknown-type

比如我启动项目之后想要点击服装,然后就会报错。 ![Uploading 6150e6331b8e2a4cc6f4e26f81a9605.png…]()

ihmily commented 2 months ago

image

just tested and it was normal. is there a problem with your environment ?

please reinstall

pip install -r requirements.txt
baoyuchen commented 2 months ago

感谢你的回复,我更全面的展示一下我的错误问题,我百度查询之后说是因为vpn的问题导致的。想请你帮我看下。 首先我执行了pip install -r requirements.txt demo1 然后我开始运行app.py demo2 但是当我在网页上进行操作的时候开始报错 DEMO3 终端中的报错如图所示: demo4 以上四个步骤我是打开vpn进行操作的,如果我直接关闭vpn运行app则会出现如下的情况 demo5 请问这种情况可以怎么解决吗?期待你的回复,感谢

baoyuchen commented 2 months ago

image

just tested and it was normal. is there a problem with your environment ?

please reinstall

pip install -r requirements.txt

你好,我在上面展示了具体的问题情况,请问这种情况可以怎么解决呢?

baoyuchen commented 2 months ago

image

just tested and it was normal. is there a problem with your environment ?

please reinstall

pip install -r requirements.txt

image

just tested and it was normal. is there a problem with your environment ?

please reinstall

pip install -r requirements.txt

你好,我在上面展示了具体的问题情况,请问这种情况可以怎么解决呢?

baoyuchen commented 2 months ago

image

just tested and it was normal. is there a problem with your environment ?

please reinstall

pip install -r requirements.txt

你好,我在上面展示了具体的问题情况,请问这种情况可以怎么解决呢?

ihmily commented 2 months ago

maybe it is the proplem of pydantic, you can try update the version:

pip install pydantic==2.7.4
baoyuchen commented 2 months ago

maybe it is the proplem of pydantic, you can try update the version:

pip install pydantic==2.7.4

请问可以看下你的环境中的pip list情况吗?以及你使用vpn了吗?

yunpeng880 commented 2 months ago

maybe it is the proplem of pydantic, you can try update the version:

pip install pydantic==2.7.4

请问可以看下你的环境中的pip list情况吗?以及你使用vpn了吗?

I have the same quesiton. my pip list is :absl-py 2.1.0 addict 2.4.0 aiofiles 23.2.1 altair 5.4.1 annotated-types 0.7.0 anyio 4.4.0 attrs 24.2.0 basicsr 1.4.2 certifi 2024.2.2 charset-normalizer 3.3.2 click 8.1.7 colorama 0.4.6 contourpy 1.3.0 cycler 0.12.1 exceptiongroup 1.2.2 fastapi 0.114.2 ffmpy 0.4.0 filelock 3.14.0 fonttools 4.53.1 fsspec 2024.3.1 future 1.0.0 gradio 4.36.1 gradio_client 1.0.1 grpcio 1.63.0 h11 0.14.0 httpcore 1.0.5 httpx 0.27.2 huggingface-hub 0.24.7 idna 3.7 imageio 2.34.1 importlib_metadata 7.1.0 importlib_resources 6.4.5 intel-openmp 2021.4.0 Jinja2 3.1.3 jsonschema 4.23.0 jsonschema-specifications 2023.12.1 kiwisolver 1.4.7 lazy_loader 0.4 lmdb 1.4.1 Markdown 3.6 markdown-it-py 3.0.0 MarkupSafe 2.1.5 matplotlib 3.9.2 mdurl 0.1.2 mkl 2021.4.0 mpmath 1.3.0 mypy-extensions 1.0.0 narwhals 1.8.1 networkx 3.3 numpy 1.26.4 opencv-python 4.9.0.80 orjson 3.10.7 packaging 24.0 pandas 2.2.2 pillow 10.3.0 pip 24.0 platformdirs 4.2.1 protobuf 4.25.3 pydantic 2.7.4 pydantic_core 2.18.4 pydub 0.25.1 Pygments 2.18.0 pyparsing 3.1.4 pyre-extensions 0.0.23 python-dateutil 2.9.0.post0 python-multipart 0.0.9 pytz 2024.2 PyYAML 6.0.1 referencing 0.35.1 requests 2.31.0 rich 13.8.1 rpds-py 0.20.0 ruff 0.6.5 scikit-image 0.23.2 scipy 1.13.0 semantic-version 2.10.0 setuptools 63.2.0 shellingham 1.5.4 six 1.16.0 sniffio 1.3.1 starlette 0.38.5 sympy 1.12 tb-nightly 2.17.0a20240502 tbb 2021.12.0 tensorboard-data-server 0.7.2 tifffile 2024.4.24 tomli 2.0.1 tomlkit 0.12.0 torch 2.3.0 torchvision 0.18.0 tqdm 4.66.4 typer 0.12.5 typing_extensions 4.11.0 typing-inspect 0.9.0 tzdata 2024.1 urllib3 2.2.1 uvicorn 0.30.6 websockets 11.0.3 Werkzeug 3.0.2 xformers 0.0.23.post1 yapf 0.40.2 zipp 3.18.1