Downloads · 30 days
0
Celsia/CvelsialArch_V1
CvelsialArch_V1 is a machine learning model from Celsia. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
A deep learning project that predicts GPS coordinates from images using computer vision and geographic reasoning, trained on the CVLSFBay-1.5K Test Split dataset.
Downloads · 30 days
0
Access
Public
Updated Jul 18, 2025
Repo size
536 MB
Likes
0
Public
Click a slice to open those files.
.pth300 MB · 100%
From the Hugging Face model README
A deep learning project that predicts GPS coordinates from images using computer vision and geographic reasoning, trained on the CVL_SFBay-1.5K Test Split dataset.
This project implements multiple neural network architectures to predict GPS coordinates from images, with a focus on the San Francisco Bay Area. The models combine visual feature extraction with geographic reasoning to estimate location coordinates and understand terrain/scene types.
CVL_SFBay-1.5K Test Split
main2_high_improved.py)main2_ultra.py)main2_accurate.py: Accuracy-focused modelmain2_fixed.py: Bug-fixed baselinestreamlit_app.py: Interactive web interfaceData Preprocessing: Images resized to 256x256, normalized for ImageNet
Augmentation: Random crops, flips, rotation, color jittering
Loss Function: Custom geographic loss combining:
Optimization: AdamW with different learning rates for pretrained vs. new layers
Validation: 85/15 train/validation split with early stopping
Models achieve meter-level accuracy on the CVL_SFBay-1.5K dataset:
python main2_high_improved.py # Train high-end model
python main2_ultra.py # Train ultra model
python -c "
from main2_high_improved import predict_improved_high_end, ImprovedHighEndGPSNet
import torch
# Load trained model
model = ImprovedHighEndGPSNet()
checkpoint = torch.load('improved_high_end_gps_model.pth')
model.load_state_dict(checkpoint['model_state_dict'])
# Predict location
lat, lon, terrain, terrain_conf, coord_conf = predict_improved_high_end(model, 'path/to/image.jpg')
print(f'Predicted location: {lat:.6f}, {lon:.6f}')
print(f'Terrain: {terrain} (confidence: {terrain_conf:.3f})')
"
streamlit run streamlit_app.py
├── main2_high_improved.py # High-end GPS model (29.5M params)
├── main2_ultra.py # Ultra GPS model (16.6M params)
├── main2_accurate.py # Accuracy-focused variant
├── streamlit_app.py # Web interface
├── data/
│ ├── images/ # Training images
│ ├── exif_data.json # GPS metadata
│ └── location_data.csv # Location dataset
├── *.pth # Trained model weights
└── README.md # This file
torch
torchvision
PIL
folium
numpy
streamlit
requests
tqdm
Currently optimized for the San Francisco Bay Area, including:
Trained on the CVL_SFBay-1.5K Test Split dataset for academic research purposes.