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
Enhance train_tf_ps.py with CNN architecture updates, and dataset resizing.
- Update Conv2D kernel sizes to 5 for improved feature extraction.
- Increase epochs to 100 and adjust batch size to 32 for better training.
- Add TensorBoard callback for training visualization (commented and in progress).
- Modify default image resizing dimensions to 256x320.
- Implement GPU memory growth configuration to prevent OOM errors.
- Plot Mean Absolute Error (MAE) during training for insights.
- Expand `.gitignore` to exclude Python artifacts, logs, and additional dataset files.
parser.add_argument("--data-path", default=os.environ.get("DATA_PATH", "/app/infra/local/mysql-database/datasets/image-datasets/laser-spots"), help="Path to CSV or image root directory")
761
769
parser.add_argument("--data-url", default=os.environ.get("DATA_URL", "/app/infra/local/mysql-database/datasets/csvs/health.csv"), help="HTTP(S) URL to CSV (used inside cluster if path not mounted)")
762
770
parser.add_argument("--data-is-images", action="store_false", help="Treat data-path as folder-per-class image dataset")
763
-
parser.add_argument("--img-height", type=int, default=int(os.environ.get("IMG_HEIGHT", "180")), help="Image height for resizing")
764
-
parser.add_argument("--img-width", type=int, default=int(os.environ.get("IMG_WIDTH", "180")), help="Image width for resizing")
771
+
parser.add_argument("--img-height", type=int, default=int(os.environ.get("IMG_HEIGHT", "256")), help="Image height for resizing")
772
+
parser.add_argument("--img-width", type=int, default=int(os.environ.get("IMG_WIDTH", "320")), help="Image width for resizing")
0 commit comments