Downloads · 30 days
0
Obsaa/jigsaw-vit-clothing1m-obsa4930
jigsaw-vit-clothing1m-obsa4930 is a machine learning model from Obsaa. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This project is a deep learning-based image classifier for the Clothing1M dataset. It uses a Vision Transformer (ViT) model to classify clothing images into one of 14 categories. The application is built with PyTorch…
Downloads · 30 days
0
Access
Public
Updated Apr 7, 2025
Repo size
88.2 MB
Likes
0
Public
Click a slice to open those files.
.pth88.2 MB · 100%
From the Hugging Face model README
This project is a deep learning-based image classifier for the Clothing1M dataset. It uses a Vision Transformer (ViT) model to classify clothing images into one of 14 categories. The application is built with PyTorch and Gradio for an interactive web interface.
pip package managerClone the repository:
git clone https://github.com/your-username/clothing1m-classifier.git
cd clothing1m-classifier
Install the required dependencies:
pip install -r requirements.txt
python app.py
Open the Gradio interface in your browser (default: http://127.0.0.1:7860).
Upload an image or select an example image to classify it into one of the 14 clothing categories.
clothing_classifier/ ├── app.py # Main application script ├── model_jigsaw_nested.py # Model architecture ├── utils.py # Utility functions ├── requirements.txt # Required dependencies ├── examples/ # Example images │ ├── example1.jpg │ ├── example2.jpg │ └── example3.jpg
Architecture: Vision Transformer (ViT) with a custom classification head. Pretrained Model: The model is downloaded from the Hugging Face Hub: Repository: Obsaa/jigsaw-vit-clothing1m-obsa4930 File: model.pth
The project requires the following Python libraries:
torch torchvision einops timm numpy gradio pillow huggingface_hub
The model classifies images into the following 14 clothing categories:
T-Shirt Shirt Knitwear Chiffon Sweater Hoodie Windbreaker Jacket Down Coat Suit Blazer Vest Sweatpants Jeans
JigsawViT Clothing1M Dataset Hugging Face Hub Gradio
This README.md file provides an overview of the project, including installation instructions, usage, project structure, and dependencies. You can customize it further based on your specific requirements. Let me know if you need additional changes!