README.md 3.8 KB
Newer Older
G
gaocongli 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13
MindInsight provides MindSpore with easy-to-use debugging and tuning capabilities. It 
enables users to visualize the experiments. The features of MindInsight are as follows.

- Visualization of training process: 

    Provide visualization of training process information, 
such as computation graph, training process metrics, etc.

- Traceability of training result: 

    Provide visualization of model parameters information, 
such as training data, model accuracy, etc.

W
wangyue01 已提交
14 15 16 17
- Visualization of training performance:

    Provide visualization of training performance information, such as operator execution time,
data input pipeline performance, etc.
G
gaocongli 已提交
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74

# Index

- [More about MindInsight](#more-about-mindinsight)
- [Installation](#installation)
- [QuickStart](#quickstart)
- [Docs](#docs)
- [Community](#community)
- [Contributing](#contributing)
- [Release Notes](#release-notes)
- [License](#license)

# More about MindInsight

The architecture diagram of MindInsight is illustrated as follows:


![MindInsight Architecture](docs/arch.png)


## Summary log file

The summary log file consists of a series of operation events. Each event contains 
the necessary data for visualization.

MindSpore uses the Callback mechanism to record graph, scalar, image and model 
information into summary log file. 

- The scalar and image is recorded by Summary operator.

- The computation graph is recorded by SummaryRecord after it was compiled.

- The model parameters is recorded by TrainLineage or EvalLineage.

MindInsight provides the capability to analyze summary log files and visualize 
relative information.

## Visualization

MindInsight provides users with a full-process visualized GUI during 
AI development, in order to help model developers to improve the model 
precision efficiently.

MindInsight has the following visualization capabilities:

### Graph visualization

The GUI of MindInsight displays the structure of neural network, the data flow and control 
flow of each operator during the entire training process.

### Scalar visualization

The GUI of MindInsight displays the change tendency of a specific scalar during the entire 
training process, such as loss value and accuracy rate of each iteration. 

Two scalar curves can be combined and displayed in one chart. 

75 76 77 78 79
### Parameter distribution

The GUI of MindInsight displays the distribution change tendency of a tensor such as weight
or gradient during the entire training process.

G
gaocongli 已提交
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
### Image visualization

The GUI of MindInsight displays both original images and enhanced images during the entire 
training process.

### Model lineage visualization

The GUI of MindInsight displays the parameters and metrics of all models, such as the 
learning rate, the number of samples and the loss function of each model.

### Dataset Graph visualization

The GUI of MindInsight displays the pipeline of dataset processing and augmentation.

### Dataset Lineage visualization

The GUI of MindInsight displays the parameters and operations of the dataset processing and augmentation.

W
wangyue01 已提交
98 99 100 101
### Performance visualization

The GUI of MindInsight displays the performance data of the neural networks.

G
gaocongli 已提交
102 103 104 105 106 107
# Installation

See [Install MindInsight](https://www.mindspore.cn/install/en).

# QuickStart

108
See [guidance](https://www.mindspore.cn/tutorial/en/r0.6/advanced_use/visualization_tutorials.html)
G
gaocongli 已提交
109 110 111

# Docs

112
See [API Reference](https://www.mindspore.cn/api/en/r0.6/index.html) 
G
gaocongli 已提交
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128

# Community

- [MindSpore Slack](https://join.slack.com/t/mindspore/shared_invite/enQtOTcwMTIxMDI3NjM0LTNkMWM2MzI5NjIyZWU5ZWQ5M2EwMTQ5MWNiYzMxOGM4OWFhZjI4M2E5OGI2YTg3ODU1ODE2Njg1MThiNWI3YmQ) - Communication platform for developers.

# Contributing

Welcome contributions. See our [Contributor Wiki](https://gitee.com/mindspore/mindspore/blob/master/CONTRIBUTING.md) for more details.

# Release Notes

The release notes, see our [RELEASE](RELEASE.md).

# License

[Apache License 2.0](LICENSE)