Importing and exporting PowerAI Vision information

You can import and export PowerAI Vision models and data sets. This allows you to save them for archiving then use them later, use them on a different PowerAI Vision install, and so on.

Exporting

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 as well as any tags or categories you have assigned.
Notes:
  • When exporting 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 any of the images 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 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 will be in the data set, but they will no longer be marked as augmented.
Export a model
When you export custom trained model (a model that was trained by using a custom model), the generated zip file is not encrypted or password protected, unlike with other models exported from PowerAI Vision.

To export a model, open the Models page, select the model you want to export, then click Export in the left pane. The model is saved in your default download directory as character_string.zip; where character_string is randomly generated by the system.

Note:

If the model is not a Custom model that was imported, the exported model can only be used with PowerAI Vision. It can be imported into the Inference Server product and deployed with the Inference Server product.

It is not recommended that you use an exported model with an earlier version of the product than it was exported from. Additionally, a model from a prior version will 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 will not be supported on the imported model.

Importing

Import a data set
  1. Navigate to the Data sets page.
  2. Drag and drop an exported data set .zip file onto the Create box.
    Important: After the upload starts, do not close the PowerAI Vision tab or refresh the page. Doing so stops the upload.
  3. After the upload completes, the data set has its original name.
Notes:
  • In 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 will be in the data set, but they will no longer be 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

Instead of using PowerAI Vision to train a new model, you can import a model that was previously trained with PowerAI Vision, and was then exported. This lets you streamline data processing by offloading training tasks and allowing you to reuse models on multiple systems. After the model is imported to the Models page, you can deploy it in PowerAI Vision. Use the information in this topic to prepare a custom model that will be deployed in PowerAI Vision: Preparing a model that will be deployed in PowerAI Vision.

  1. Navigate to the Models page.
  2. Drag and drop a previously exported model .zip file onto the Import box.
    Important: After the upload starts, do not close the PowerAI Vision tab or refresh the page. Doing so stops the upload.
  3. After the upload completes, the model has its original name.