I found out that in a filepath argument of ModelCheckPoint I can save checkpoints with the epoch value and log keys. However, as I'm a newbie I'm having a hard time understanding the concepts of logs and how tensorboard uses it. All I know is that logs are saved data telling what events happened in tensorflow (am I right?)
Thanks in advance to those who will gonna answer questions ! (You are an angel)
.4f
and .02d
are for string formatting. Specifically {epoch:.02d}
means "Insert the epoch number, which is an integer (d
part), with width at least 2 characters and if necessary use leading zeros (eg. epoch is 1, then this will output 01
)". The {val_loss:.4f}
means "Insert the val_loss, which is a float (f
part), with 4 numbers after the radix point". So the output will contain the current epoch
and val_loss
values formatted a certain way.epoch
and val_loss
will get the correct values from ModelCheckPoint
.