Giter VIP home page Giter VIP logo

kisekloset's Introduction


๐Ÿคฉ We are thrilled to introduce KiseKloset, a virtual try-on experience and personalized outfit recommendations.

With KiseKloset, you can easily try on clothes virtually by uploading your photo and the desired shirt image, instantly visualizing how the outfit would look on you. After the try-on, we take a step further by providing similar items and complementary pieces that may align with your preferences. Additionally, you can describe your preferred style in just a few words, and our AI system will come up with suggestions in the blink of an eye.


๐Ÿ“ Documentation

๐Ÿงฐ Install

Clone this repo.

git clone https://github.com/KiseKloset/KiseKloset.git
cd KiseKloset

Install with conda (we provide script install.sh)

conda create -n kisekloset python=3.10
conda activate kisekloset
bash install.sh

๐Ÿ‘จโ€๐Ÿ’ป Run

Create an .env file and config the necessary environment variables (as in .env.example). Then run:

python src/main.py

Note: The first run may take a long time because of downloading the models.

โœ”๏ธ TODO

  • Support Docker
  • Support Webcam Try-on
  • Responsive UI

kisekloset's People

Contributors

pntt3011 avatar pre-commit-ci[bot] avatar zero-nnkn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

suraj832

kisekloset's Issues

How to run on a machine that doesn't have NVIDIA GPU but only by using CPU!!

post installation of the libraries using install.sh, while starting fast api using python src/main.py, it complains about missing dlls related to cupy(cudnn64_8.dll -> not found,,cuTENSOR.dll -> not found, nvcuda.dll -> not found)

complete error:

`Traceback (most recent call last):
File "C:\Users\Venkatesh Reddy\AppData\Local\Programs\Python\Python310\lib\site-packages\cupy_init_.py", line 17, in
from cupy import core # NOQA
File "C:\Users\Venkatesh Reddy\AppData\Local\Programs\Python\Python310\lib\site-packages\cupy_core_init
.py", line 3, in
from cupy._core import core # NOQA
File "cupy_core\core.pyx", line 1, in init cupy.core.core
File "C:\Users\Venkatesh Reddy\AppData\Local\Programs\Python\Python310\lib\site-packages\cupy\cuda_init
.py", line 8, in
from cupy.cuda import compiler # NOQA
File "C:\Users\Venkatesh Reddy\AppData\Local\Programs\Python\Python310\lib\site-packages\cupy\cuda\compiler.py", line 14, in
from cupy.cuda import function
File "cupy\cuda\function.pyx", line 1, in init cupy.cuda.function
File "cupy_core_carray.pyx", line 1, in init cupy._core._carray
File "cupy_core\internal.pyx", line 1, in init cupy._core.internal
File "cupy\cuda\memory.pyx", line 1, in init cupy.cuda.memory
ImportError: DLL load failed while importing driver: The specified module could not be found.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "D:\Easystepin\KiseKloset\src\main.py", line 14, in
from api.tryon.router import router as tryon_router
File "D:\Easystepin\KiseKloset\src\api\tryon\router.py", line 9, in
from .service import TryonService
File "D:\Easystepin\KiseKloset\src\api\tryon\service_init_.py", line 9, in
from .dm_vton import DMVTON, get_transform
File "D:\Easystepin\KiseKloset\src\api\tryon\service\dm_vton_init_.py", line 1, in
import cupy
File "C:\Users\Venkatesh Reddy\AppData\Local\Programs\Python\Python310\lib\site-packages\cupy_init_.py", line 19, in
raise ImportError(f'''
ImportError:

Failed to import CuPy.

If you installed CuPy via wheels (cupy-cudaXXX or cupy-rocm-X-X), make sure that the package matches with the version of CUDA or ROCm installed.

On Linux, you may need to set LD_LIBRARY_PATH environment variable depending on how you installed CUDA/ROCm.
On Windows, try setting CUDA_PATH environment variable.

Check the Installation Guide for details:
https://docs.cupy.dev/en/latest/install.html

CUDA Path: C:\ProgramData\anaconda3\Library
DLL dependencies:
KERNEL32.dll -> C:\WINDOWS\System32\KERNEL32.DLL
MSVCP140.dll -> C:\WINDOWS\SYSTEM32\msvcp140.dll
VCRUNTIME140.dll -> C:\Python310\VCRUNTIME140.dll
api-ms-win-crt-convert-l1-1-0.dll -> C:\WINDOWS\System32\ucrtbase.dll
api-ms-win-crt-environment-l1-1-0.dll -> C:\WINDOWS\System32\ucrtbase.dll
api-ms-win-crt-filesystem-l1-1-0.dll -> C:\WINDOWS\System32\ucrtbase.dll
api-ms-win-crt-heap-l1-1-0.dll -> C:\WINDOWS\System32\ucrtbase.dll
api-ms-win-crt-runtime-l1-1-0.dll -> C:\WINDOWS\System32\ucrtbase.dll
api-ms-win-crt-stdio-l1-1-0.dll -> C:\WINDOWS\System32\ucrtbase.dll
cuTENSOR.dll -> not found
cublas64_11.dll -> C:\ProgramData\anaconda3\Library\bin\cublas64_11.dll
cudart64_110.dll -> C:\ProgramData\anaconda3\Library\bin\cudart64_110.dll
cudnn64_8.dll -> not found
cufft64_10.dll -> C:\ProgramData\anaconda3\Library\bin\cufft64_10.dll
curand64_10.dll -> C:\ProgramData\anaconda3\Library\bin\curand64_10.dll
cusolver64_11.dll -> C:\ProgramData\anaconda3\Library\bin\cusolver64_11.dll
cusparse64_11.dll -> C:\ProgramData\anaconda3\Library\bin\cusparse64_11.dll
nvcuda.dll -> not found
nvrtc64_112_0.dll -> C:\ProgramData\anaconda3\Library\bin\nvrtc64_112_0.dll
python310.dll -> C:\Python310\python310.dll

Original error:
ImportError: DLL load failed while importing driver: The specified module could not be found.
================================================================`

pydantic.error_wrappers.ValidationError: 4 validation errors for Settings

I followed the readme steps and ran it. It gives this error(windows11):

  File "pydantic\main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 4 validation errors for Settings
HOST
  field required (type=value_error.missing)
PORT
  field required (type=value_error.missing)
CORS_ORIGINS
  field required (type=value_error.missing)
CORS_HEADERS
  field required (type=value_error.missing)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.