urbanlc.model.train_utils#
Functions
|
Combine predictions from partitioned patches into a complete prediction. |
|
Load model checkpoint, including model state, optimizer state, scheduler state, and epoch. |
|
Save model checkpoint, including model state, optimizer state, scheduler state, and epoch. |
|
Partition a satellite image into patches of specified size and stride. |
|
Set random seeds for reproducibility in random, numpy, and PyTorch. |