Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Managing Visualization Jobs

Updated on 2023-10-13 GMT+08:00

You can create visualization jobs of TensorBoard and MindInsight types on ModelArts.

TensorBoard and MindInsight can effectively display the change trend of a training job and the data used in the training.

  • TensorBoard

    TensorBoard effectively displays the computational graph of TensorFlow in the running process, the trend of all metrics in time, and the data used in the training. TensorBoard supports only the training jobs based on the TensorFlow or MXNet engine. For more information about TensorBoard, see TensorBoard official website.

  • MindInsight

    MindInsight visualizes information such as scalars, images, computational graphs, and model hyperparameters during training. It also provides functions such as training dashboard, model lineage, data lineage, and performance debugging, helping you train and debug models efficiently. MindInsight supports only the training jobs based on the MindSpore engine. For more information about MindInsight, see MindSpore official website.

You can use the summary file generated during model training to create a visualization job.

Prerequisites

To ensure that the summary file is generated in the training result, add the related code to the training script.

  • Using the TensorFlow engine:

    When using the TensorFlow-based MoXing, in mox.run, set save_summary_steps>0 and summary_verbosity≥1.

    If you want to display other metrics, add tensors to log_info in the return value mox.ModelSpec of model_fn. Only the rank-0 tensors (scalars) are supported. The added tensors are written into the summary file. If you want to write tensors of higher ranks in the summary file, use the native tf.summary of TensorFlow in model_fn.

  • Using the MindSpore engine:

    MindSpore allows you to save data to the summary log file and display the data on the GUI. For details, see Collecting Summary Record.

  • Using the MXNet engine:

    Add the following code to the script:

    batch_end_callbacks.append(mx.contrib.tensorboard.LogMetricsCallback('OBS path'))

Precautions

  • You will be charged as long as your visualization jobs are in the Running status. We recommend you to stop the visualization jobs when you no longer need them to prevent unnecessary fees. Visualization jobs can be automatically stopped at the specified time. To prevent unnecessary fees, enable this function.
  • By default, CPU resources are used to run visualization jobs and cannot be changed to other resources.
  • The OBS directory you use and ModelArts are in the same region.

Creating a Visualization Job

  1. Log in to the ModelArts management console. In the left navigation pane, choose Training Jobs. On the displayed page, click the Visualization Jobs tab.
  2. In the upper left corner of the visualization job list, click Create to switch to the Create Visualization Job page.
  3. Set Billing Mode to Pay-per-use and Job Type to TensorBoard and MindInsight. Enter the visualization job name and description as required, set the Training Output Path and Auto Stop parameters.
    • Training Output Path: Select the training output path specified when the training job is created.
    • Auto Stop: Enable or disable the auto stop function. A running visualization job will be billed. To prevent unnecessary fees, enable the auto stop function to automatically stop the visualization job at the specified time. The options are 1 hour later, 2 hours later, 4 hours later, 6 hours later, and Custom. If you select Custom, you can enter any integer within 1 to 24 hours in the text box on the right.
    Figure 1 Creating a visualization job
  4. Click Next.
  5. After confirming the specifications, click Next.

    In the visualization job list, when the status changes to Running, the virtualization job has been created. You can click the name of the visualization job to view its details.

Opening a Visualization Job

In the visualization job list, click the name of the target visualization job. The page is displayed. Only the visualization job in the Running status can be opened.

Figure 2 TensorBoard page
Figure 3 MindInsight GUI

Running or Stopping a Visualization Job

  • Stopping a visualization job: Stop a running visualization job when it is no longer needed to stop billing. In the visualization job list, click Stop in the Operation column to stop the visualization job.
  • Running a visualization job: You can run and use a visualization job in the Canceled status again. In the visualization job list, click Run in the Operation column to run the visualization job.

Deleting a Visualization Job

If your visualization job is no longer used, you can delete it to release resources. In the visualization job list, click Delete in the Operation column to delete the visualization job.

NOTE:

A deleted visualized job cannot be recovered. Create a new visualization job if you want to use it. Exercise caution when performing this operation.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback