Checkpoint

class packnet_sfm.models.model_checkpoint.ModelCheckpoint(filepath=None, monitor='val_loss', save_top_k=1, mode='auto', period=1, s3_path='', s3_frequency=5)[source]

Bases: object

check_and_save(model, metrics)[source]
check_monitor_top_k(current)[source]
format_checkpoint_name(epoch, metrics)[source]
packnet_sfm.models.model_checkpoint.save_code(filepath)[source]

Save code in the models folder

packnet_sfm.models.model_checkpoint.sync_s3_data(local, model)[source]

Sync saved models with the s3 bucket