Model and data FAQ

Updated at:

Model deployment, model service updates, data upload, and algorithm support raise recurring questions in PAI Machine Learning Designer. The following sections answer the most common of these questions and provide the workarounds and diagnostic steps for each one.

Use the following table to find your issue and jump to the answer.

IssueJump to
Why can I not select a model when I deploy a service to Elastic Algorithm Service (EAS)?No models are available for EAS deployment
How do I update an EAS service automatically each time a pipeline runs?Automatic EAS service update on each pipeline run
How do I upload on-premises data and use it for training?Upload on-premises data for training
Why is some text displayed as blob characters when I view component data?Text is displayed as blob characters
How do I create a MaxCompute table?Create a MaxCompute table
How do I export a data table to Excel?Export a data table to Excel
Can dataset management connect to data in other S3-compatible object storage services?Dataset management support for S3-compatible object storage
Which algorithms support incremental training?Incremental training support in Machine Learning Designer
Are TensorFlow 2.x versions supported?TensorFlow 2.x version support
Is there an API for retrieving stdOut and stdErr from LogView?API access to stdOut and stdErr in LogView

Model deployment and service updates

No models are available for EAS deployment

Symptom: When you choose Model Deployment > EAS (Online Model Service), a message indicates that no models are available for deployment.

Cause: The pipeline is not configured to output a deployable model.

Solution:

  1. Open the pipeline details page in Machine Learning Designer and add the component that you want to deploy.

  2. On the Fields Setting tab of the component, select Whether To Generate PMML.

  3. On the Pipeline Attributes tab of the pipeline, configure the Temporary Model Storage Path parameter.

  4. Rerun the component.

Automatic EAS service update on each pipeline run

To update an Elastic Algorithm Service (EAS) service automatically on every pipeline run, add the Update EAS Service component to your pipeline. On the Parameters Settings tab, enter the name of the EAS service to update. Each time the component runs, it retrieves the Object Storage Service (OSS) model path from the upstream component and updates the EAS service automatically.

Data upload and datasets

Upload on-premises data for training

Choose a method based on your file size:

MethodFile sizeSteps
Method 1: Read CSV File component (direct upload)CSV file ≤ 1 GBUse the Read CSV File component to upload the file directly.
Method 2: Upload to OSS, then readCSV file > 1 GBUpload the CSV file to an OSS bucket first, then use the Read CSV File component to read it.
Method 3: DataWorks table uploadAny size, table-basedLog on to the DataWorks console, find your workspace, and click DataStudio in the Actions column. In DataStudio, create a table and upload the data. For details, see Create tables and upload data.

Text is displayed as blob characters

Symptom: In Machine Learning Designer, when you right-click a component on the canvas and choose View Data from the shortcut menu, some text appears as blob.

Cause: Characters that cannot be transcoded are displayed as blob.

Impact: This does not affect data processing or retrieval by downstream components. No action is required.

Create a MaxCompute table

To create a MaxCompute table, execute a CREATE statement in the SQL component, or create the table in the corresponding MaxCompute project.

Export a data table to Excel

Exporting data from Machine Learning Designer directly to an Excel file is not supported. If a downstream component stores the data in a MaxCompute table, use MaxCompute to query the data and generate an Excel file.

Dataset management support for S3-compatible object storage

No. PAI dataset management cannot connect to data in other S3-compatible object storage services. It currently supports OSS and NAS only.

Algorithms and platform capabilities

Incremental training support in Machine Learning Designer

Machine Learning Designer supports incremental training for select algorithms, including:

  • Deep learning algorithms

  • EasyRec algorithms

If the preceding categories do not tell you whether the algorithm you use supports incremental training, submit a ticket to confirm.

TensorFlow 2.x version support

The TensorFlow component supports versions up to 1.15. If you require a later version, use the custom Python script component, which supports more versions and runtime images. For more information, see Python Script.

API access to stdOut and stdErr in LogView

No. LogView currently provides no API for querying the stdOut or stdErr subpages of a training task separately.