Add comprehensive Google Colab training notebook for SARATR-X experiments#1
Draft
Add comprehensive Google Colab training notebook for SARATR-X experiments#1
Conversation
…ents This commit adds a complete Google Colab notebook that enables training the SARATR-X model with 4 different reconstruction techniques on Sentinel-1&2 dataset. Features: - Optimized for Google Colab free tier (T4 GPU, 1.5h sessions) - Automatic Sentinel-1&2 dataset download from Kaggle - PNG to NPY conversion for faster loading - 4 experiment configurations: 1. Pixel-reconstruction (SAR → SAR) 2. MGF-reconstruction (SAR → Multi-scale Gradient Features) 3. RGB-reconstruction (SAR → RGB optical) 4. Greyscale-reconstruction (SAR → Greyscale optical) - Google Drive integration for persistent checkpoint storage - Automatic checkpointing every 5 epochs - TensorBoard logging and visualization - Resume training capability for session expiry handling - Comprehensive README with setup instructions and troubleshooting Training optimizations: - Batch size: 32 (reduced for T4 GPU memory) - Mixed precision (16-bit) training - 50 epochs per experiment (~15-20 min each) - Custom data loaders for SAR-to-SAR and greyscale conversion Files added: - notebook/colab_training_experiments.ipynb: Main Colab notebook - notebook/COLAB_EXPERIMENTS_README.md: Detailed usage instructions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit adds a complete Google Colab notebook that enables training the SARATR-X model with 4 different reconstruction techniques on Sentinel-1&2 dataset.
Features:
Training optimizations:
Files added: