Welcome to Outfit Anyone, a virtual trial room that allows users to try on different outfits using a unique LoRA model trained with the "Outfit Anyone" ComfyUI workflow. This project leverages deep learning to provide a futuristic shopping experience, allowing users to visualize themselves in various clothing styles from the comfort of their homes.
- Virtual Try-On: Easily visualize various outfits with a simple UI powered by the "Outfit Anyone" workflow.
- Custom LoRA Model: Trained a LoRA model using over 100 images, offering a wide range of outfit simulations, from casual wear to formal attire.
- Easy Integration: Utilizes AWS SageMaker, Automatic 1111, Kohya SS, python, Jupyter Notebooks for model training and deployment.
- Realistic Simulations: Generated outputs showcase the LoRA model's capability to simulate outfits in diverse scenarios, bringing fashion retail to a whole new digital level!
- ComfyUI: Streamlined the user interface for virtual trial room experience.
- LoRA Model: Trained on a diverse dataset for high-quality outfit simulations.
- AWS SageMaker: Utilized for scalable model training.
- Python & Jupyter Notebooks: For model training, data preprocessing, and analysis.
- Terminal Commands: To manage workflow and troubleshoot during development.
Hereβs a sneak peek of some outfits generated by the virtual trial room:
Note: More examples can be found in the
results/
folder!
Follow these instructions to set up the project on your local machine.
- Python 3.8+
- ComfyUI installed
- AWS SageMaker account (optional for model training)
- Jupyter Notebooks
-
Clone this repository:
git clone https://github.com/your-username/outfit-anyone-comfyui-workflow.git cd outfit-anyone-comfyui-workflow
-
Install the required Python packages:
pip install -r requirements.txt
-
Set up ComfyUI: Follow the ComfyUI setup guide to integrate it with this project.
-
Prepare the Dataset (Optional):
- Add your dataset to the
data/
folder. - Run the data preprocessing script in
notebooks/data_preprocessing.ipynb
.
- Add your dataset to the
-
Train the LoRA Model (Optional):
- Open
notebooks/train_lora_model.ipynb
. - Follow the instructions to train your model using your dataset.
- Open
-
Run the Virtual Trial Room:
python src/main.py
-
Use the ComfyUI Interface:
- Open your browser and navigate to
localhost:8000
to access the virtual trial room. - Upload an image and explore different outfit options!
- Open your browser and navigate to
- Data Collection: The LoRA model is trained using a diverse set of images, enabling it to generalize across different body shapes and outfits.
- Model Training: The model is fine-tuned using a combination of AWS SageMaker, Jupyter Notebooks, and terminal commands, optimizing for accuracy and performance.
- Outfit Simulation: Through the ComfyUI workflow, users can select an outfit, and the model generates a realistic trial room image, presenting how the outfit might look on them.
Here's a breakdown of the key components of this project:
src/
: Contains the main code files and UI scripts.assets/
: Stores images and icons used in the UI.models/
: Pre-trained LoRA models (or instructions on how to download them if they're large).results/
: Example outputs from the virtual trial room.notebooks/
: Jupyter Notebooks for data preprocessing, model training, and analysis.requirements.txt
: Lists the Python dependencies for this project.
- Adding support for multiple outfit categories.
- Integrating more advanced deep learning techniques for even more realistic simulations.
- Enhancing the user interface for a seamless virtual shopping experience.