git initgit remote add origin https://github.com/xampos101/Hybrid-Euro-Detection-System.gitOr if remote already exists:
git remote set-url origin https://github.com/xampos101/Hybrid-Euro-Detection-System.git# Essential code
git add new_pipeline/
git add V2/model/best.pt
git add V2/classifier/coin_classifier_best.pth
# Documentation
git add Report/
git add docs/
git add README.md
git add LICENSE
# Configuration
git add requirements.txt
git add .gitignore
# Records (videos)
git add records/
# Training results (optional - can be large)
# git add Yolo11s_Train/git commit -m "Initial commit: Hybrid Euro Coin Detection System
- YOLO11s custom trained model (99.1% mAP50)
- Hybrid pipeline with consensus voting
- Real-time detection and classification
- Complete documentation and training results
- Demo videos included"# If main branch
git push -u origin main
# If master branch
git push -u origin masterIf video files are large (>100MB), consider using Git LFS:
# Install Git LFS (if not installed)
git lfs install
# Track large video files
git lfs track "*.mp4"
git add .gitattributes
git add records/*.mp4The model file V2/model/best.pt is included in the repository as it's essential for the system to work. If it's very large, you might want to use Git LFS:
git lfs track "*.pt"
git add .gitattributes
git add V2/model/best.ptFiles to be committed:
- ✅
new_pipeline/- Main code - ✅
V2/model/best.pt- YOLO11s model - ✅
Report/- Documentation - ✅
docs/- Training documentation and plots - ✅
records/- Demo videos - ✅
README.md- Main README - ✅
LICENSE- Apache License - ✅
requirements.txt- Dependencies - ✅
.gitignore- Git ignore rules
Optional (can be added later):
Yolo11s_Train/- Training source (can be large)assets/screenshots/- Screenshots (to be added)
Before pushing, verify what will be committed:
git status
git ls-files- Use Git LFS for large files
- Or remove large files and host them elsewhere
- Or increase GitHub file size limit (requires Git LFS)
git pull origin main --allow-unrelated-histories
# Resolve any conflicts
git push -u origin main