doc-exports/docs/modelarts/umn/modelarts_05_0096.html
Lai, Weijian 4e4b2d5f6d ModelArts UMN 23.3.0 Version.
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Lai, Weijian <laiweijian4@huawei.com>
Co-committed-by: Lai, Weijian <laiweijian4@huawei.com>
2024-06-26 07:03:02 +00:00

1.4 KiB

Only Three Valid Digits Are Retained in a Training Output Log. Can the Value of loss Be Changed?

In a training job, only three valid digits are retained in a training output log. When the value of loss is too small, the value is displayed as 0.000. Log content is as follows:

INFO:tensorflow:global_step/sec: 0.382191
INFO:tensorflow:step: 81600(global step: 81600) sample/sec: 12.098 loss: 0.000
INFO:tensorflow:global_step/sec: 0.382876
INFO:tensorflow:step: 81700(global step: 81700) sample/sec: 12.298 loss: 0.000

Currently, the value of loss cannot be changed. You can multiply the value of loss by 1000 to avoid this problem.