You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Logging and experiment tracking (Weights & Biases)
11
11
- Model checkpointing and flexible configuration
12
12
- Ready for deployment (Gradio web app)
13
-
-Mixed precision training (with `autocast` and `GradScaler`) for improved speed and memory efficiency on GPU
13
+
-Gradient clipping, OneCycle LR policy, and mixed precision training (with `autocast` and `GradScaler`) for improved stability and GPU memory efficiency
@@ -90,8 +90,8 @@ Edit `.env` using `.env.example` as a guide for AWS and wandb keys.
90
90
> The preprocessing pipeline (image resizing, cropping, normalization) **must be identical** between training and inference (including Gradio app or deployment).
91
91
>
92
92
> - All transforms should use parameters from `config/prod.yaml` (or your config file).
93
-
> - The value of `img_size` used for training and inference must always be ≤ 256, since images are first resized so their short edge is 256 before center cropping.
94
-
> - **Do not set`img_size` greater than 256.** This would result in errors or ineffective cropping during inference.
93
+
> - The value of `img_size` used for training and inference must always be ≤ 512, since images are first resized so their short edge is 512 before center cropping.
94
+
> - **Do not set`img_size` greater than 512.** This would result in errors or ineffective cropping during inference.
95
95
96
96
**Best practice:**
97
97
Update only your config file (not hardcoded values) when changing image size or normalization, and always reload configs in both training and inference code.
@@ -112,8 +112,8 @@ This project includes an interactive Gradio app for making predictions with the
112
112
113
113
## Requirements
114
114
- See `requirements.txt`
115
-
- Python ≥ 3.8
116
-
- PyTorch >= 2.2
115
+
- Python >= 3.9
116
+
- PyTorch >= 2.6
117
117
118
118
## Contributing
119
119
Open to issues and pull requests!
@@ -128,4 +128,4 @@ This project is licensed under the MIT License.
128
128
129
129
## Tips:
130
130
- .env.example helps keep secrets out of git.
131
-
- .gitignore: Don't track datasets, outputs, or .env.
131
+
- .gitignore: Don't track datasets, outputs, wandb, or .env.
0 commit comments