# Web UI

## Let's start:soon:

### 1. Create an experiment

Let's create an experiment at first. Click "Create New" to create a new experiment or "History" to use the previous recipe

![Create New / History](https://522766295-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MW2ecm2xpfKWEpW4Cao%2F-MdutQ7NYPgK_Ze4isaV%2F-MduwqRvHsNrMDmumEgl%2Fimage.png?alt=media\&token=d8fa535b-3f37-4f2c-b33f-3050637f046f)

### 2. Experiment Parameters

Set up the environment for your experiment\
&#x20;     1\) Enter "Name" as the name of the experiment and "Description" to describe the details of the experiment\
&#x20;     2\) Choose "Image" which includes the environment and basic setupackage\
&#x20;     3\) Choose the core number of "CPU", size of "RAM" and type of "GPU"

> You can choose on-demand or spot instance in "Instance type" (Spot instance will cost down your budget but with an unstable instance)

![](https://522766295-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MW2ecm2xpfKWEpW4Cao%2F-MdutQ7NYPgK_Ze4isaV%2F-MduxIzDgjtJGo-1JhAl%2Fimage.png?alt=media\&token=903fbed7-3620-4edd-a7cc-6ae31b3c1b91)

### 3. Choose Function and Requirements

Upload your function which is a model with trainer to find the optimal weights and hyper parameters, or you can only design your own model and use our trainer

> You can upload / delete function, model and requirements here.

{% hint style="info" %}
User Function / Model will be saved in File Manager.
{% endhint %}

![](https://522766295-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MW2ecm2xpfKWEpW4Cao%2F-MdutQ7NYPgK_Ze4isaV%2F-MduxwuCTCL5nUK7LwGv%2Fimage.png?alt=media\&token=d303d85b-f803-4125-a303-4080f56ef036)

### 4. Function / Model Configuration

Our [**Magic** ](https://innocuous-book.gitbook.io/innocuous-book/experiment-1/experiment/magic)will automatically load function or model arguments into **Function Config**. If you just have model without trainer, our **Trainer Config** can set hyperparameters for you. There are some basic settings in **Trialer Config** for the experiment to follow.

{% hint style="info" %}
Only Model have Trainer Config
{% endhint %}

![Function Config](https://522766295-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MW2ecm2xpfKWEpW4Cao%2F-MdutQ7NYPgK_Ze4isaV%2F-Mduyrvm_Gsk90Xfl-z5%2Fimage.png?alt=media\&token=06770331-4a32-4d9c-bd57-9f05463d8010)

![Trainer Config](https://522766295-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MW2ecm2xpfKWEpW4Cao%2F-MduzMhNHFoqcLzo5_UJ%2F-Mdv7Kuzv3FS5zdvUKkh%2Fimage.png?alt=media\&token=48cfc952-98f5-4260-8e84-67422f7072bd)

![Trialer Config](https://522766295-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MW2ecm2xpfKWEpW4Cao%2F-MduzMhNHFoqcLzo5_UJ%2F-Mdv7SvTJDncl9BpJywC%2Fimage.png?alt=media\&token=9897b598-ed9d-4ca3-b665-9f9a40ee64c0)

{% hint style="info" %}
Use magic.log(\*args) web can auto load metric
{% endhint %}

### 5. Choose Dataset

Upload your data as the model input to train

> You can upload / delete dataset here.

![Choose Dataset](https://522766295-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MW2ecm2xpfKWEpW4Cao%2F-MdygMYyaFjCTnEVFbTm%2F-MdyjPev_XSXRb_N5Rha%2Fimage.png?alt=media\&token=5954e409-3fe2-4ed2-b6dd-f3c122a6d79a)

### 6. Review

Make sure all the details of your experiment and launch

![Review](https://522766295-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MW2ecm2xpfKWEpW4Cao%2F-MdygMYyaFjCTnEVFbTm%2F-Mdyjg0mFQoYZUP1QsKC%2Fimage.png?alt=media\&token=8c7b1d45-2805-4fd3-a9c5-7f03ec26352d)
