Open QixingJiang opened 1 year ago
This is Python's syntax for formatting strings. You can read more about it in the Documentation. In this example, the integer epoch
will be left-padded with zeros to a length of 6:
"{epoch:06}".format(epoch=12)
'000012'
Thank you for your outstanding contribution to community! I noticed that in main.py, line 621:
"filename": "{epoch:06}-{step:09}", and line 553: "filename": "{epoch:06}", I wonder if it's missing "format", or what is the meaning of this {:06}?