Importing, exporting, and downloading information
You can import and export Maximo® Visual Inspection models and data sets.
You can save them for archiving and use them later or use them on a different Maximo Visual Inspection installation.
When you export a data set in the user interface, a .zip file is created and transferred to the browser for saving. A notification is presented to indicate that the download is in progress, since the time to transfer large models and data sets depends on network speeds.
Export a data set
To export a data set, open the Data sets page, open the data set you want to export, then click Export in the action bar. The data set is saved in your default download directory as data_set_name.zip. This .zip file contains the images and any tags or categories you assigned. Note the following considerations:
- When you export a data set, any objects that are not used in the data set are not contained in the exported data set. Therefore, they are not included when the data set is imported. For example, if the object or label "car" is defined but is not used in an image in the data set, the exported data set does not include the "car" object or label. When the data set is imported, the "car" object or label is not created.
- In IBM® PowerAI Vision 1.1.1, any information about augmented images is lost on export. If the data set is later imported (regardless of the product version), the augmented images are in the data set, but they are not marked as augmented.
Exporting models and data sets
When you export a model or data set in the user interface, a .zip file is created and transferred to the browser for saving. A notification is presented to indicate that the download is in progress, since the time to transfer large models and data sets depends on network speeds.
Export a data set
To export a data set, open the Data sets page, open the data set you want to export, then click Export in the action bar. The data set is saved in your default download directory as data_set_name.zip. This .zip file contains the images and any tags or categories you assigned. Note the following considerations:
- When you export a data set, any objects that are not used in the data set are not contained in the exported data set. Therefore, they are not included when the data set is imported. For example, if the object or label "car" is defined but is not used in an image in the data set, the exported data set does not include the "car" object or label. When the data set is imported, the "car" object or label is not created.
- In IBM PowerAI Vision 1.1.1, any information about augmented images is lost on export. If the data set is later imported (regardless of the product version), the augmented images are in the data set, but they are not marked as augmented.
Export a model
When you export a model, a .zip file is generated that contains the model and some additional files, depending on the model type. The generated .zip file is not encrypted or password protected.
To export a model, open the Models page, select the model that you want to
export, then click Export. The model is saved in your default download
directory as character_string.zip; where character_string
is
randomly generated by the system.
Do not use an exported model with an earlier version of the product than it was exported from. Additionally, a model from a prior version does not have support for features that were added to later versions of the product. That is, if you export a model from version x.1 and import it into x.2, features that were added in x.2 are not supported on the imported model.
Export the results of action detection or object detection inference
You can download the results from an inference that was run in the last seven days on an action detection or object detection model by following these steps:
- Open the Deployed model page, then click the name of the model.
- Scroll to the Test Model section and click Results history. A window opens that shows all inference results from the past seven days.
- Select the results that you want to view and click Load results.
- Scroll down to any results that you want to download and click Export
result.
- For action detection: A .zip file is downloaded to your system. This file contains the original video, a CSV file for the result information. If you selected the option to generate the annotated video when the inference operation was started, the file also contains the processed video with action labels.
- For object detection: A .zip file is downloaded to your system. This file contains the original video, a JSON file that contains the result information, and the processed video with object labels added as annotations.
Downloading files
When you train certain types of models, more downloadable files are generated. To download these files, open the Deployed models page and click the appropriate model.
Core ML files
When you download Core ML files, the model is downloaded as a .mlmodel file. This file can be deployed onto an Xcode project and can be used for inference directly on the device.
TensorRT files
When you download TensorRT files, the model is downloaded as a .tar.gz file.
Importing a data set
Follow these instructions to import a data set:
- Go to the Data sets page.
- Drag a data set .zip file that was exported from Maximo Visual Inspection onto the
Create box. Note: After the upload starts, do not navigate away from the Maximo Visual Inspection page, close the tab or window, or refresh the page. Doing so stops the upload.
- After the upload completes, the data set has its original name. Notes:
- In IBM PowerAI Vision 1.1.1, any information about augmented images is lost on export. Therefore, if the data set is later imported (regardless of the product version), the augmented images are in the data set, but they are no longer marked as augmented.
- The data set associated with a model is not preserved when it is exported. Therefore, for imported models, the Data set field is set to "Not found".
Import a model
- Go to the Models page.
- Drag and drop a previously exported model .zip file onto the Import box.
Note: After the upload starts, do not close the Maximo Visual Inspection tab or refresh the page. Doing so stops the upload.
- After the upload completes, the model has its original name.