You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 3.7 kB

5 years ago
5 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. MindInsight provides MindSpore with easy-to-use debugging and tuning capabilities. It
  2. enables users to visualize the experiments. The features of MindInsight are as follows.
  3. - Visualization of training process:
  4. Provide visualization of training process information,
  5. such as computation graph, training process metrics, etc.
  6. - Traceability of training result:
  7. Provide visualization of model parameters information,
  8. such as training data, model accuracy, etc.
  9. # Index
  10. - [More about MindInsight](#more-about-mindinsight)
  11. - [Installation](#installation)
  12. - [QuickStart](#quickstart)
  13. - [Docs](#docs)
  14. - [Community](#community)
  15. - [Contributing](#contributing)
  16. - [Release Notes](#release-notes)
  17. - [License](#license)
  18. # More about MindInsight
  19. The architecture diagram of MindInsight is illustrated as follows:
  20. ![MindInsight Architecture](docs/arch.png)
  21. ## Summary log file
  22. The summary log file consists of a series of operation events. Each event contains
  23. the necessary data for visualization.
  24. MindSpore uses the Callback mechanism to record graph, scalar, image and model
  25. information into summary log file.
  26. - The scalar and image is recorded by Summary operator.
  27. - The computation graph is recorded by SummaryRecord after it was compiled.
  28. - The model parameters is recorded by TrainLineage or EvalLineage.
  29. MindInsight provides the capability to analyze summary log files and visualize
  30. relative information.
  31. ## Visualization
  32. MindInsight provides users with a full-process visualized GUI during
  33. AI development, in order to help model developers to improve the model
  34. precision efficiently.
  35. MindInsight has the following visualization capabilities:
  36. ### Graph visualization
  37. The GUI of MindInsight displays the structure of neural network, the data flow and control
  38. flow of each operator during the entire training process.
  39. ### Scalar visualization
  40. The GUI of MindInsight displays the change tendency of a specific scalar during the entire
  41. training process, such as loss value and accuracy rate of each iteration.
  42. Two scalar curves can be combined and displayed in one chart.
  43. ### Parameter distribution
  44. The GUI of MindInsight displays the distribution change tendency of a tensor such as weight
  45. or gradient during the entire training process.
  46. ### Image visualization
  47. The GUI of MindInsight displays both original images and enhanced images during the entire
  48. training process.
  49. ### Model lineage visualization
  50. The GUI of MindInsight displays the parameters and metrics of all models, such as the
  51. learning rate, the number of samples and the loss function of each model.
  52. ### Dataset Graph visualization
  53. The GUI of MindInsight displays the pipeline of dataset processing and augmentation.
  54. ### Dataset Lineage visualization
  55. The GUI of MindInsight displays the parameters and operations of the dataset processing and augmentation.
  56. # Installation
  57. See [Install MindInsight](https://www.mindspore.cn/install/en).
  58. # QuickStart
  59. See [guidance](https://www.mindspore.cn/tutorial/en/0.1.0-alpha/advanced_use/visualization_tutorials.html)
  60. # Docs
  61. See [API Reference](https://www.mindspore.cn/api/en/master/index.html)
  62. # Community
  63. - [MindSpore Slack](https://join.slack.com/t/mindspore/shared_invite/enQtOTcwMTIxMDI3NjM0LTNkMWM2MzI5NjIyZWU5ZWQ5M2EwMTQ5MWNiYzMxOGM4OWFhZjI4M2E5OGI2YTg3ODU1ODE2Njg1MThiNWI3YmQ) - Communication platform for developers.
  64. # Contributing
  65. Welcome contributions. See our [Contributor Wiki](https://gitee.com/mindspore/mindspore/blob/master/CONTRIBUTING.md) for more details.
  66. # Release Notes
  67. The release notes, see our [RELEASE](RELEASE.md).
  68. # License
  69. [Apache License 2.0](LICENSE)

MindInsight为MindSpore提供了简单易用的调优调试能力。在训练过程中,可以将标量、张量、图像、计算图、模型超参、训练耗时等数据记录到文件中,通过MindInsight可视化页面进行查看及分析。