All Products
Search
Document Center

Platform For AI:Export and import pipelines

Last Updated:Mar 24, 2023

You can import a JSON-formatted pipeline file that is exported by you or others to your workspace to create a pipeline. If you create a pipeline from the file, the components and configurations of the components in the original pipeline are imported to the new pipeline. After you create the pipeline from the file, you can modify specific components or component settings to build models. This topic describes how to export and import a pipeline.

Prerequisites

A custom pipeline is created, and a model is built. For more information, see Prepare and preprocess data.

Export a pipeline

  1. Go to the Machine Learning Designer page.
    1. Log on to the Machine Learning Platform for AI console.
    2. In the left-side navigation pane, click Workspaces. On the Workspaces page, click the name of the workspace that you want to manage.
    3. In the left-side navigation pane, choose Model Training > Visualized Modeling (Designer) to go to the Machine Learning Designer page.
  2. On the Pipelines tab of the Visualized Modeling (Designer) page, double-click the pipeline that you want to manage. The configuration tab of the pipeline appears.

  3. In the upper-left corner of the canvas, click Export Pipeline to export the pipeline as a file to your computer.

Then, you can import the file to your workspace to create a pipeline. For more information, see the "Import a pipeline" section of this topic.

Import a pipeline

  1. Go to the Machine Learning Designer page.
    1. Log on to the Machine Learning Platform for AI console.
    2. In the left-side navigation pane, click Workspaces. On the Workspaces page, click the name of the workspace that you want to manage.
    3. In the left-side navigation pane, choose Model Training > Visualized Modeling (Designer) to go to the Machine Learning Designer page.
  2. On the Pipelines tab, choose Create Pipeline > Import.

  3. In the Import Pipeline dialog box, configure the parameters that are described in the following table.

    Parameter

    Description

    Pipeline File

    The pipeline file. Click Upload File to upload the exported pipeline file.

    Pipeline Data Path

    The path of the Object Storage Service (OSS) bucket that stores the pipeline data. You can use the path of the default bucket that stores data of the original pipeline, or use the path of your bucket.

    Important

    If you use the path of the default bucket, make sure that you have read and write permissions on the bucket. Otherwise, the pipeline fails to run. For more information, see Overview.

    Description

    The description of the pipeline. Descriptions are used to identify pipelines.

    Visibility

    The scope at which the pipeline is visible. Valid values:

    • Visible to Me: The pipeline is created under the My Pipelines folder and is visible only to you and the administrators of the current workspace.

    • Visible to Current Workspace: The pipeline is created under the Pipelines Visible to Workspaces folder and is visible to all members of the current workspace.

  4. Click OK.

What to do next

After you import the pipeline, you can configure the pipeline on the pipeline configuration tab. For more information, see Build a model.