Datasets:
The dataset viewer is not available for this dataset.
Error code: JWTInvalidSignature
Exception: InvalidSignatureError
Message: Signature verification failed
Traceback: Traceback (most recent call last):
File "/src/libs/libapi/src/libapi/jwt_token.py", line 286, in validate_jwt
decoded = jwt.decode(
jwt=token,
...<2 lines>...
options=options,
)
File "/usr/local/lib/python3.14/site-packages/jwt/api_jwt.py", line 368, in decode
decoded = self.decode_complete(
jwt,
...<8 lines>...
leeway=leeway,
)
File "/usr/local/lib/python3.14/site-packages/jwt/api_jwt.py", line 265, in decode_complete
decoded = self._jws.decode_complete(
jwt,
...<3 lines>...
detached_payload=detached_payload,
)
File "/usr/local/lib/python3.14/site-packages/jwt/api_jws.py", line 270, in decode_complete
self._verify_signature(
~~~~~~~~~~~~~~~~~~~~~~^
signing_input,
^^^^^^^^^^^^^^
...<4 lines>...
options=merged_options,
^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/jwt/api_jws.py", line 417, in _verify_signature
raise InvalidSignatureError("Signature verification failed")
jwt.exceptions.InvalidSignatureError: Signature verification failedNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
YAML Metadata Warning:The task_categories "image-generation" is not in the official list: text-classification, token-classification, table-question-answering, question-answering, zero-shot-classification, translation, summarization, feature-extraction, text-generation, fill-mask, sentence-similarity, text-to-speech, text-to-audio, automatic-speech-recognition, audio-to-audio, audio-classification, audio-text-to-text, voice-activity-detection, depth-estimation, image-classification, object-detection, image-segmentation, text-to-image, image-to-text, image-to-image, image-to-video, unconditional-image-generation, video-classification, reinforcement-learning, robotics, tabular-classification, tabular-regression, tabular-to-text, table-to-text, multiple-choice, text-ranking, text-retrieval, time-series-forecasting, text-to-video, image-text-to-text, image-text-to-image, image-text-to-video, visual-question-answering, document-question-answering, zero-shot-image-classification, graph-ml, mask-generation, zero-shot-object-detection, text-to-3d, image-to-3d, image-feature-extraction, video-text-to-text, keypoint-detection, visual-document-retrieval, any-to-any, video-to-video, other
LoRA Garment Texture Training Dataset
π Dataset Description
This dataset contains high-quality garment texture images organized by categories for training LoRA (Low-Rank Adaptation) models. These images are specifically curated for fine-tuning diffusion models to generate virtual try-on results with specific fabric textures and patterns.
Key Features
- π¨ Multiple texture categories for diverse garment styles
- πΈ High-resolution images suitable for LoRA training
- π·οΈ Organized by category for easy filtering and training
- π― Fashion-focused textures for virtual try-on applications
- π§ Ready for training with metadata included
π Dataset Statistics
| Category | Description |
|---|
- denim
- linen
- pattern1
- pattern2
Total Images: 190
Image Properties
- Formats: JPEG, PNG
- Resolutions: Variable (high-resolution)
- Color Mode: RGB
- Categories: 4
π― Use Cases
1. LoRA Model Training
Train LoRA adapters for specific fabric textures:
from datasets import load_dataset
# Load dataset
dataset = load_dataset("zyuzuguldu/lora-garment-textures")
# Filter by category
denim_images = dataset["train"].filter(lambda x: x["category"] == "denim")
# Use in your LoRA training pipeline
for sample in denim_images:
image = sample["image"]
category = sample["category"]
# Your training code here
2. Virtual Try-On Fine-tuning
Fine-tune diffusion models to generate specific garment textures in virtual try-on applications.
3. Texture-Conditioned Generation
Use as reference images for texture-aware garment generation models.
4. Style Transfer
Apply specific fabric textures to garment designs using style transfer techniques.
π Dataset Structure
Each sample contains:
image_id(string): Unique identifier (format:category_####)image(PIL Image): The texture imagecategory(string): Texture category namefilename(string): Original filenamewidth(int): Image width in pixelsheight(int): Image height in pixelsmode(string): Image color mode (e.g., "RGB")format(string): Image file format (e.g., "JPEG", "PNG")
Example
{
"image_id": "denim_0001",
"image": <PIL.Image>,
"category": "denim",
"filename": "pexels-photo-7794357.jpeg",
"width": 2048,
"height": 1536,
"mode": "RGB",
"format": "JPEG"
}
π Quick Start
Load Dataset
from datasets import load_dataset
# Load full dataset
dataset = load_dataset("zyuzuguldu/lora-garment-textures")
# Access the data
train_data = dataset["train"]
# Preview first sample
print(train_data[0])
Filter by Category
from datasets import load_dataset
dataset = load_dataset("zyuzuguldu/lora-garment-textures", split="train")
# Get all categories
categories = set(dataset["category"])
print(f"Available categories: {categories}")
# Filter specific category
denim_data = dataset.filter(lambda x: x["category"] == "denim")
print(f"Denim images: {len(denim_data)}")
Visualize Images
import matplotlib.pyplot as plt
from datasets import load_dataset
dataset = load_dataset("zyuzuguldu/lora-garment-textures", split="train")
# Display images from each category
fig, axes = plt.subplots(2, 2, figsize=(12, 12))
for idx, ax in enumerate(axes.flat):
sample = dataset[idx]
ax.imshow(sample["image"])
ax.set_title(f"{sample['category']} - {sample['image_id']}")
ax.axis("off")
plt.tight_layout()
plt.show()
LoRA Training Integration
from datasets import load_dataset
from diffusers import StableDiffusionPipeline, AutoencoderKL
from diffusers.loaders import AttnProcsLayers
import torch
# Load dataset
dataset = load_dataset("zyuzuguldu/lora-garment-textures", split="train")
# Filter for specific texture
texture_data = dataset.filter(lambda x: x["category"] == "denim")
# Load base model
model_id = "stabilityai/stable-diffusion-2-1"
pipe = StableDiffusionPipeline.from_pretrained(model_id)
# Your LoRA training code here
# Use texture_data as training input
π¨ Categories
The dataset includes the following texture categories:
- denim
- linen
- pattern1
- pattern2
Each category contains carefully curated images representing specific fabric textures or patterns commonly used in fashion and garment design.
π‘ Best Practices
For LoRA Training
- Start with one category: Train separate LoRAs for each texture type
- Use consistent prompts: Include category name in your training prompts
- Adjust learning rates: Fine-tune for fabric texture details
- Monitor overfitting: Use validation images to check generalization
For Virtual Try-On
- Combine with segmentation: Use garment masks for targeted texture application
- Preserve garment structure: Maintain original garment shape while applying texture
- Match lighting: Ensure texture matches the lighting of the target image
π Dataset Creation
This dataset was curated from various sources for the specific purpose of training LoRA models for virtual try-on applications. Images were:
- Collected from high-quality fabric and texture sources
- Organized by texture category
- Verified for quality and resolution
- Prepared with metadata for easy filtering
βοΈ License
This dataset is released under the MIT License.
- Free to use for commercial and non-commercial purposes
- Attribution appreciated but not required
π Related Resources
- Garment Segmentation Model: garment-segmentation-unet-resnet50
- Segmentation Dataset: deepfashion2-upper-body-masks
- Gradio Demo: garment-segmentation
π€ Contributing
Want to add more texture categories or improve the dataset? Feel free to reach out!
π¨βπ» Maintainer
Created and maintained by @zyuzuguldu
Made with β€οΈ for the fashion-tech and AI community
π Citation
If you use this dataset in your research or projects, please cite:
@dataset{lora_garment_textures,
author = {zyuzuguldu},
title = {LoRA Garment Texture Training Dataset},
year = {2026},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/datasets/zyuzuguldu/lora-garment-textures}}
}
- Downloads last month
- -