diff --git a/docs/source_zh_cn/design/mindinsight/training_visual_design.md b/docs/source_zh_cn/design/mindinsight/training_visual_design.md index 51320902896702b6bb8fb96b820ccc4d7f8ba2ec..2f459956591b6263e4cf495946364abf8066434f 100644 --- a/docs/source_zh_cn/design/mindinsight/training_visual_design.md +++ b/docs/source_zh_cn/design/mindinsight/training_visual_design.md @@ -24,7 +24,7 @@ [MindInsight](https://gitee.com/mindspore/mindinsight)是MindSporeçš„å¯è§†åŒ–调试调优组件。通过MindInsightå¯ä»¥å®Œæˆè®ç»ƒå¯è§†ã€æ€§èƒ½è°ƒä¼˜ã€ç²¾åº¦è°ƒä¼˜ç‰ä»»åŠ¡ã€‚ -è®ç»ƒå¯è§†åŠŸèƒ½ä¸»è¦åŒ…括è®ç»ƒçœ‹æ¿ã€æ¨¡åž‹æº¯æºã€æ•°æ®æº¯æºç‰åŠŸèƒ½ï¼Œè®ç»ƒçœ‹æ¿ä¸åˆåŒ…æ‹¬æ ‡é‡ã€å‚数分布图ã€è®¡ç®—图ã€æ•°æ®å›¾ã€æ•°æ®æŠ½æ ·ç‰å功能。 +è®ç»ƒå¯è§†åŠŸèƒ½ä¸»è¦åŒ…括è®ç»ƒçœ‹æ¿ã€æ¨¡åž‹æº¯æºã€æ•°æ®æº¯æºç‰åŠŸèƒ½ï¼Œè®ç»ƒçœ‹æ¿ä¸åˆåŒ…æ‹¬æ ‡é‡ã€å‚数分布图ã€è®¡ç®—图ã€æ•°æ®å›¾ã€æ•°æ®æŠ½æ ·ã€å¼ é‡ç‰å功能。 本文主è¦ä»‹ç»MindInsightè®ç»ƒå¯è§†åŠŸèƒ½çš„逻辑架构ã€ä»£ç 组织和数æ®æ¨¡åž‹ã€‚ diff --git a/tutorials/source_en/advanced_use/dashboard.md b/tutorials/source_en/advanced_use/dashboard.md index 86ea80788cd63dce417fbab02f3629f3992f5e4b..6fb9158d4f1dfce9ea0afbfdd8b76a7a596cf9ad 100644 --- a/tutorials/source_en/advanced_use/dashboard.md +++ b/tutorials/source_en/advanced_use/dashboard.md @@ -18,7 +18,7 @@ ## Overview -Training dashboard is an important part of mindinsight's visualization component, and its tags include scalar visualization, parameter distribution visualization, computational visualization, data visualization and image visualization. +Training dashboard is an important part of mindinsight's visualization component, and its tags include scalar visualization, parameter distribution visualization, computational visualization, data visualization, image visualization and tensor visualization. Access the Training Dashboard by selecting a specific training from the training list. @@ -195,6 +195,6 @@ Figure 13 shows tensors recorded by a user in a form of a histogram. Click the u Remarks: The method of estimating the space usage of `TensorSummary` is as follows: - The size of a `TensorSummary` data = the number of values in the tensor * 4 bytes. Assuming that the size of the tensor recorded by `TensorSummary` is 32 * 1 * 256 * 256, then a `TensorSummary` data needs about 32 * 1 * 256 * 256 * 4 bytes = 8,388,608 bytes = 8MiB. Also suppose that the collect_freq of `SummaryCollector` is set to 1, and 50 iterations are trained. Then the required space when recording these 50 sets of data is about 50 * 8 MiB = 400MiB. It should be noted that due to the overhead of data structure and other factors, the actual storage space used will be slightly larger than 400MiB. + The size of a `TensorSummary` data = the number of values in the tensor * 4 bytes. Assuming that the size of the tensor recorded by `TensorSummary` is 32 * 1 * 256 * 256, then a `TensorSummary` data needs about 32 * 1 * 256 * 256 * 4 bytes = 8,388,608 bytes = 8MiB. `TensorSummary` will record data of 20 steps by default. Then the required space when recording these 20 sets of data is about 20 * 8 MiB = 160MiB. It should be noted that due to the overhead of data structure and other factors, the actual storage space used will be slightly larger than 160MiB. 6. The training log file is large when using `TensorSummary` because the complete tensor data is recorded. MindInsight needs more time to parse the training log file, please be patient. \ No newline at end of file diff --git a/tutorials/source_zh_cn/advanced_use/dashboard.md b/tutorials/source_zh_cn/advanced_use/dashboard.md index eca509ed4102760adc5e29bb34cb2ba21b3e8917..3eef8c36433b5ca43e62e72a21e2e654f7126ca1 100644 --- a/tutorials/source_zh_cn/advanced_use/dashboard.md +++ b/tutorials/source_zh_cn/advanced_use/dashboard.md @@ -19,7 +19,7 @@ ## 概述 -è®ç»ƒçœ‹æ¿æ˜¯MindInsightçš„å¯è§†åŒ–组件的é‡è¦ç»„æˆéƒ¨åˆ†ï¼Œè€Œè®ç»ƒçœ‹æ¿çš„æ ‡ç¾åŒ…å«ï¼šæ ‡é‡å¯è§†åŒ–ã€å‚数分布图å¯è§†åŒ–ã€è®¡ç®—图å¯è§†åŒ–ã€æ•°æ®å›¾å¯è§†åŒ–和图åƒå¯è§†åŒ–ç‰ã€‚ +è®ç»ƒçœ‹æ¿æ˜¯MindInsightçš„å¯è§†åŒ–组件的é‡è¦ç»„æˆéƒ¨åˆ†ï¼Œè€Œè®ç»ƒçœ‹æ¿çš„æ ‡ç¾åŒ…å«ï¼šæ ‡é‡å¯è§†åŒ–ã€å‚数分布图å¯è§†åŒ–ã€è®¡ç®—图å¯è§†åŒ–ã€æ•°æ®å›¾å¯è§†åŒ–ã€å›¾åƒå¯è§†åŒ–å’Œå¼ é‡å¯è§†åŒ–ç‰ã€‚ 用户从è®ç»ƒåˆ—表ä¸é€‰æ‹©æŒ‡å®šçš„è®ç»ƒï¼Œè¿›å…¥è®ç»ƒçœ‹æ¿ã€‚ @@ -193,5 +193,5 @@ 备注:估算`TensorSummary`空间使用é‡çš„方法如下: - 一个`TensorSummary`æ•°æ®çš„å¤§å° ï¼ Tensorä¸çš„数值个数 * 4 bytes。å‡è®¾ä½¿ç”¨`TensorSummary`记录的Tensor大å°ä¸º32 * 1 * 256 * 256,则一个`TensorSummary`æ•°æ®å¤§çº¦éœ€è¦32 * 1 * 256 * 256 * 4 bytes = 8,388,608 bytes = 8MiB。åˆå‡è®¾`SummaryCollector`çš„collect_freq设置为1,且è®ç»ƒäº†50个è¿ä»£ã€‚则记录这50组数æ®éœ€è¦çš„空间约为50 * 8 MiB ï¼ 400MiB。需è¦æ³¨æ„的是,由于数æ®ç»“æž„ç‰å› ç´ çš„å¼€é”€ï¼Œå®žé™…ä½¿ç”¨çš„å˜å‚¨ç©ºé—´ä¼šç•¥å¤§äºŽ400MiB。 + 一个`TensorSummary`æ•°æ®çš„å¤§å° ï¼ Tensorä¸çš„数值个数 * 4 bytes。å‡è®¾ä½¿ç”¨`TensorSummary`记录的Tensor大å°ä¸º32 * 1 * 256 * 256,则一个`TensorSummary`æ•°æ®å¤§çº¦éœ€è¦32 * 1 * 256 * 256 * 4 bytes = 8,388,608 bytes = 8MiB。`TensorSummary`默认会记录20个æ¥éª¤çš„æ•°æ®ï¼Œåˆ™è®°å½•è¿™20组数æ®éœ€è¦çš„空间约为20 * 8 MiB ï¼ 160MiB。需è¦æ³¨æ„的是,由于数æ®ç»“æž„ç‰å› ç´ çš„å¼€é”€ï¼Œå®žé™…ä½¿ç”¨çš„å˜å‚¨ç©ºé—´ä¼šç•¥å¤§äºŽ160MiB。 6. 当使用`TensorSummary`时,由于记录完整Tensoræ•°æ®ï¼Œè®ç»ƒæ—¥å¿—文件较大,MindInsight需è¦æ›´å¤šæ—¶é—´è§£æžè®ç»ƒæ—¥å¿—文件,请è€å¿ƒç‰å¾…。 \ No newline at end of file