Interface
To open the Aivia Cloud DL interface, go to Analysis > Batch & Cloud Processor in Aivia. Within the Batch & Cloud Processor window, go to File > Settings, and then uncheck the Run Local Mode checkbox to access Aivia Cloud (cloud mode). In cloud mode, cloud-computing is used to run training and applying operations, while only your PC's resources are used in local mode.
The Aivia Cloud DL interface (see right) is composed of three (3) main sections:
Local Library
Cloud Library
Jobs Panel
File menu
The File menu is located at the upper left corner of the Batch & Cloud Processor window. There are five (5) options in the File menu as described in the table below.
Option
Description
Settings
Opens the Batch & Cloud Processor Settings dialog, which has options for enabling/disabling local mode, specifying the number of GPUs to use in local mode, and specifying the Python executable path for local mode
Validate Python Modules
Checks that all necessary Python modules are installed and allows you to install any missing modules
Add Python Module
Opens the Import Python Module dialog, which allows you to specify modules to install
Wiki Help
Launches the help wiki for Aivia Cloud
Close
Closes the Batch & Cloud Processor window; the jobs started in the cloud continue to process while the window is closed
Local Library
The Local Library section shows the contents of the local computer folder linked to Aivia Cloud. You can specify the folder location by clicking on the Add Local Folder icon, navigating to the desired location, and then clicking Select Folder. When you download data from the cloud library, it is transferred to the specified local folder. In local mode, the Local Library section is the only library section.
Cloud Library
The Cloud Library section shows the contents of your folder in the cloud. You can populate this folder by uploading selected images from the Local Library to the Cloud Library. When you first start using Aivia Cloud, two (2) folders are available—the ac-xxxx folder corresponds to your personal, encrypted processing bucket on Aivia Cloud, which contains the Default Models folder with pre-trained Aivia deep learning models .
You can update the Local Library and Cloud Library folders by clicking on their respective Refresh buttons in the lower-left corners of the sections.
Jobs Panel
The Jobs Panel section lets you create processing jobs for training or applying deep learning models. The Aivia Cloud DL application manages resource provision and data synchronization internally between your local folder and the cloud computing platform. There are two (2) tabs:
The Create Job tab lets you set up a training or applying run. Depending on the type of job, you will have different interface options for specifying the input images and applications.
The Progress Queue tab provides you with status updates on the current and previous jobs that you have created.
Status indicators
The Progress Queue tab shows the status of the current and previous jobs. Each task associated with a job has a status indicator shown once the task has been processed. There are three (3) status indicator icons, which are described in the following table.
Icon
State
Description
Success
Indicates the operation or task has been successfully completed
Warning
Indicates the operation or task has timed out or is in an unknown state
Error
Indicates the operation or task has failed
Train a deep learning model
To train a deep learning model, you will need to have a minimum of two (2) pairs of images: ground truth and raw input. The ground truth should be the desired output (or target result) for the model, and the raw input is the images that you wish to transform. Typically the raw input should adhere to your standard experimental procedure, while the ground truth represents the "best-case scenario."
Select training images
To assign images to their respective classes, first select the images in your Local or Cloud Library. Then, right-click on the selected images to open up the context menu and select one of the Assign as... options or drag the selected files and drop them in their respective boxes in the Jobs Panel. Ground truth data should be assigned to the Example section, while raw input data should be assigned to the Raw Input section.
In the Jobs Panel, image pairs are indicated by matching green numbers in the top-left corners of the thumbnails (see the Aivia Cloud DL GUI figure).
Note |
---|
Please ensure the Raw Input images and Example images are paired and aligned. Mismatched images may results in poorly trained or invalid models. |
Initiate job
After specifying the Example and Raw Input image pairs with the application/hyperparameters and, if in local mode, the output name and folder, click Create in the lower-right corner of the Jobs Panel to create the job. You will be prompted prior to proceeding in cloud mode—click OK to confirm. Aivia Cloud DL may become unresponsive temporarily while it initiates connections with the Aivia Cloud server.
Note |
---|
In cloud mode, you will be billed for the time used once the job initiates. Please make sure all the information is entered correctly prior to proceeding. If you are not ready to start the job yet, click Cancel on the prompt to return to the Create Jobs tab. |
Once Aivia Cloud DL establishes connections with the Aivia Cloud server, the Progress Queue tab is automatically shown. The Progress Queue informs you about the progress of your cloud-computed job. When you initiate a training job, there are three (3) tasks that Aivia Cloud may perform, which are given in the table below.
Task
Description
Uploading
This task uploads the specified data from the Local Library to the Cloud Library associated with your account. For stability and to expedite the training process, it is recommended that you upload the data to the Cloud Library in full ahead of time.
Allocating
This task provisions hardware resources for cloud computing, including CPU, GPU and RAM, and prepares the uploaded data to be distributed among the provisioned hardware
Training
This task is the deep learning model training. You can monitor the progress with real-time plots of training accuracy and error rates displayed at the bottom of the Progress Queue tab.
When training is finished in cloud mode, the trained model (an .AIVIADL file) is added to a new folder called "Training-Results" with the training date timestamp (GMT) in the suffix. In local mode, the trained model is output to the folder you specified.
Note |
---|
With the launch of Aivia 10.5, .ACMODEL model output and usage is deprecated and replaced by .AIVIADL. |
Apply a deep learning model
The Applying mode lets you apply a supported deep learning model to your images. To start, click on the Applying button in the Create Job tab to enter apply mode.
Select application
In the Hyperparameters dropdown menu, pick the desired application. Applications define many general characteristics about the data you wish to process; for more advanced users, the application defines the hyperparameters used for applying the model. You may click Edit underneath the Hyperparameters dropdown menu to open a dialog where you can set custom hyperparameters. Use the Load and Save buttons under the Hyperparameters dropdown menu to load hyperparameters from and save your hyperparameters to .AIVIADLPARAM files. In the Model dropdown, select the model you want to use. If you have a newly trained model or have uploaded a model to the Cloud Library, click Refresh to update the model list.
Select images
Select the files you wish to apply the model to in either the Local Library or the Cloud Library. Right-click on the images and select Assign as raw input from the context menu to designate the images for processing. Alternately, you can drag and drop the selected files into the Raw Input section in the Jobs Panel.
Initiate job
When you have finished selecting the images; model; and, if in local mode, the output folder, click Create to create a new apply job in the cloud. The Aivia Cloud server will begin applying the specified model to the selected images. If you are prompted to continue, click OK to proceed and initiate the apply job.
Note |
---|
In cloud mode, you will be billed for the time used once the job initiates. Please make sure all the information is entered correctly prior to proceeding. If you are not ready to start the job yet, click Cancel on the prompt to return to the Create Jobs tab. |
File menu
The File menu is located in the upper-left corner of the Batch & Cloud Processor window. There are five options in the File menu as described in the table below.
Option | Description |
---|---|
Settings | Opens the Batch & Cloud Processor Settings dialog, which has options for specifying the number of GPUs to use as well as the Python executable path |
Validate Python Modules | Checks that all necessary Python modules are installed and allows you to install any missing modules |
Add Python Module | Opens the Import Python Module dialog, which allows you to specify modules to install |
Wiki Help | Launches the help wiki for Aivia Cloud |
Close | Closes the Deep Learning Processor window; the jobs started continue to process while the window is closed |
Local Library
The Local Library section shows the contents of the current local computer folder. You can specify the folder location by clicking on the Add Local Folder icon, navigating to the desired location, and then clicking Select Folder.
You can update the Local Library by clicking on the Refresh button in the lower-left corner of the window.
Jobs Panel
The Jobs Panel section lets you create processing jobs for training or applying deep learning models. There are two tabs:
The Create Job tab lets you set up a training or applying run. Depending on the type of job, you will have different interface options for specifying the input images and applications.
The Progress Queue tab provides you with status updates on the current and previous jobs that you have created.
Status indicators
The Progress Queue tab shows the status of the current and previous jobs. Each task associated with a job has a status indicator shown once the task has been processed. There are three status indicator icons, which are described in the following table.
Icon | State | Description |
---|---|---|
Success | Indicates the operation or task has been successfully completed | |
Warning | Indicates the operation or task has timed out or is in an unknown state | |
Error | Indicates the operation or task has failed |
General usage
Train a deep learning model
To train a deep learning model, you will need to have a minimum of two pairs of ground truth images and raw input images. The ground truth should be the desired output (or target result) for the model, and the raw input should be the images that you wish to transform. Typically the raw input should adhere to your standard experimental procedure, while the ground truth should represent the "best-case scenario."
Select training images
To assign images to their respective classes, first select the images in your Local Library. Then, right-click on the selected images to open up the context menu and select one of the Assign as... options or drag the selected files and drop them in their respective boxes in the Jobs Panel. Ground truth data should be assigned to the Example section, while raw input data should be assigned to the Raw Input section.
In the Jobs Panel, image pairs are indicated by matching green numbers in the top-left corners of the thumbnails.
Note |
---|
Please ensure the Raw Input images and Example images are paired and aligned. Mismatched images may results in poorly trained or invalid models. |
Initiate job
After specifying the Example and Raw Input image pairs with the application/hyperparameters as well as the output name and folder, click Create in the lower-right corner of the Jobs Panel to create the job.
Once the job begins, the Progress Queue tab is automatically shown. The Progress Queue informs you about the progress of your job. When you initiate a training job, there are two tasks that the Deep Learning Processor may perform, which are given in the table below.
Task | Description |
---|---|
Validating | This task tests the input images for minimum viable shape and congruence. |
Processing | This task is the deep learning model training. You can monitor the progress with real-time plots of training accuracy and error rates displayed at the bottom of the Progress Queue tab. |
When training is finished, the trained model is output to the folder you specified.
Note |
---|
With the launch of Aivia 10.5, .ACMODEL model output and usage is deprecated and replaced by .AIVIADL. |
Data best practices
Aivia Cloud DL The Deep Learning Processor supports common image formats such as TIFF, JPG and PNG. Prior to training, it is highly recommended that you follow the best practices below and format your data accordingly.
Same image dimensions and bit-depth: Each pair of the training images (Raw Input and Example) should have the same XYZ and time dimensions; all images should have the same bit-depth.
Minimum image size: For training 3D models, each input image must be 256 x 256 x 16 or greater in all dimensions.
Minimum number of training images: You need at least two (2) pairs of Raw Input and Example images (for a total of 4 images) for training.
Convert images to common formats: It is strongly encouraged that you convert your images to a standard, non-proprietary format such as TIFF (preferred), JPG or PNG. Proprietary formats may not be recognized by the Deep Learning Processor in Aivia Cloud and could result in invalid models.
Single channels only: Make sure each image contains only a single image channel; additional channels will not be read and may cause the training or apply to fail.
Single image or volume (3D only) per file: Aivia Cloud DL The Deep Learning Processor supports multi-frame training and apply for 3D applications only; by default, Aivia Cloud DL the Deep Learning Processor will read any T-series or Z-stacks as a 3D image; 3D+time images are not supported.
Minimize out-of-focus areas: Having the image feature in focus will enable the model to be trained more effectively; if the results from your model are not desirable, you may consider cropping the image to eliminate out-of-focus areas.
Images will be tested for minimum viable shape and congruence between input data.
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Page Properties | ||
---|---|---|
| ||
|