forked from mindspore-Ecosystem/mindspore
modify the English link
This commit is contained in:
parent
8de324cfa5
commit
c08e1ab933
|
@ -239,7 +239,7 @@ please check out [docker](https://gitee.com/mindspore/mindspore/blob/master/scri
|
|||
|
||||
## Quickstart
|
||||
|
||||
See the [Quick Start](https://www.mindspore.cn/tutorials/en/master/quick_start.html)
|
||||
See the [Quick Start](https://www.mindspore.cn/tutorials/en/master/beginner/quick_start.html)
|
||||
to implement the image classification.
|
||||
|
||||
## Docs
|
||||
|
|
|
@ -260,7 +260,7 @@ functional算子是经过初始化后的Primitive,可以直接作为函数使
|
|||
* - mindspore.ops.stack
|
||||
- Refer to :class:`mindspore.ops.Stack`.
|
||||
* - mindspore.ops.stop_gradient
|
||||
- Disable update during back propagation. (`stop_gradient <https://www.mindspore.cn/tutorials/en/master/beginner/autograd.html#stop-gradient>`_)
|
||||
- Disable update during back propagation. (`stop_gradient <https://www.mindspore.cn/tutorials/en/master/beginner/autograd.html#stopping-gradient>`_)
|
||||
* - mindspore.ops.strided_slice
|
||||
- Refer to :class:`mindspore.ops.StridedSlice`.
|
||||
* - mindspore.ops.string_concat
|
||||
|
|
|
@ -42,7 +42,7 @@ MDP requires MindSpore version 0.7.0-beta or later. MDP is actively evolving. In
|
|||
|
||||
### Bayesian Neural Network
|
||||
|
||||
1. Process the required dataset. The MNIST dateset is used in the example. Data processing is consistent with [Implementing an Image Classification Application](https://www.mindspore.cn/tutorials/en/master/quick_start.html) in Tutorial.
|
||||
1. Process the required dataset. The MNIST dateset is used in the example. Data processing is consistent with [Implementing an Image Classification Application](https://www.mindspore.cn/tutorials/en/master/beginner/quick_start.html) in Tutorial.
|
||||
|
||||
2. Define a Bayesian Neural Network. The bayesian LeNet is used in this example.
|
||||
|
||||
|
@ -227,7 +227,7 @@ optimizer = nn.Adam(params=vae.trainable_params(), learning_rate=0.001)
|
|||
net_with_loss = nn.WithLossCell(vae, net_loss)
|
||||
```
|
||||
|
||||
3. Process the required dataset. The MNIST dateset is used in the example. Data processing is consistent with [Implementing an Image Classification Application](https://www.mindspore.cn/tutorials/en/master/quick_start.html) in Tutorial.
|
||||
3. Process the required dataset. The MNIST dateset is used in the example. Data processing is consistent with [Implementing an Image Classification Application](https://www.mindspore.cn/tutorials/en/master/beginner/quick_start.html) in Tutorial.
|
||||
4. Use SVI interface to train VAE network. vi.run can return the trained network, get_train_loss can get the loss after training.
|
||||
|
||||
```python
|
||||
|
@ -437,7 +437,7 @@ if __name__ == "__main__":
|
|||
|
||||
The uncertainty estimation toolbox is based on MindSpore Deep Probabilistic Programming (MDP), and it is suitable for mainstream deep learning models, such as regression, classification, target detection and so on. In the inference stage, with the uncertainy estimation toolbox, developers only need to pass in the trained model and training dataset, specify the task and the samples to be estimated, then can obtain the aleatoric uncertainty and epistemic uncertainty. Based the uncertainty information, developers can understand the model and the dataset better.
|
||||
|
||||
In classification task, for example, the model is lenet model. The MNIST dateset is used in the example. Data processing is consistent with [Implementing an Image Classification Application](https://www.mindspore.cn/tutorials/en/master/quick_start.html) in Tutorial. For evaluating the uncertainty of test examples, the use of the toolbox is as follows:
|
||||
In classification task, for example, the model is lenet model. The MNIST dateset is used in the example. Data processing is consistent with [Implementing an Image Classification Application](https://www.mindspore.cn/tutorials/en/master/beginner/quick_start.html) in Tutorial. For evaluating the uncertainty of test examples, the use of the toolbox is as follows:
|
||||
|
||||
```python
|
||||
from mindspore.nn.probability.toolbox.uncertainty_evaluation import UncertaintyEvaluation
|
||||
|
|
Loading…
Reference in New Issue