MindWizard is a tool for quickly generating classic network scripts. It collects user preference on the combination of network parameters, such models, hyperparameters and datasets, then automatically generates target network scripts. The generated scripts can be used for training and evaluation in the Ascend or GPU environment.
## Installation
This tool is part of MindInsight and accessible to users after installing MindInsight, no extra installation is needed.
## Commandline Usage
```buildoutcfg
mindwizard [-h] [--version] name
positional arguments:
name Specify the new project name.
optional arguments:
-h, --help show this help message and exit
--version show program's version number and exit
```
## Generating Network Project
Run the mindwizard command and answer the following questions as prompted:
1. Select a network(LeNet / AlexNet / ResNet50 / ...)
1.1. Select a Loss Function(SoftmaxCrossEntropyExpand / SoftmaxCrossEntropyWithLogits / ...)
1.2. Select a Optimizer(Adam / Momentum / SGD ...)
2. Select a Dataset(MNIST / Cifar10 / ImageNet / ...)
After the project is generated, user can perform training and evaluation. For details, see README in the network project.
## Network Project Structure
```shell
project
|- script
| |- run_standalone_train.sh # launch standalone training
| |- run_distribute_train.sh # launch distributed training