Commit Graph

3 Commits (0694f9162ab72e4aa79a976f7bee162ad5080820)

Author SHA1 Message Date
bahawal.baloch 0694f9162a Add image processing and downloading scripts for DINOv2 model
- Introduced `dino_image_matching.py` for generating image embeddings and calculating cosine similarity.
- Added `download_images.py` to download images from URLs specified in an Excel file, with support for parallel downloads and retries.
- Created `generate_pairs_csv.py` to generate a CSV file of image pairs for training, including positive and negative pairs based on image hashes.
2026-05-07 17:45:48 +05:00
bahawal.baloch c66d3b1029 Add dataset, model, training, inference, and utility scripts for Siamese Network implementation
- Implemented dataset and augmentation pipeline in `dataset.py` for handling image pairs and heavy augmentations.
- Created a Siamese Network architecture in `model.py` with shared weights and contrastive loss functions.
- Developed training script in `train.py` to facilitate model training with validation and early stopping.
- Added inference capabilities in `inference.py` for comparing images and finding matches.
- Included a perceptual hashing utility in `p_hash.py` for quick image similarity checks.
2026-05-07 17:45:33 +05:00
bahawal.baloch 45b2f6e98c first commit 2026-05-07 17:43:31 +05:00