You can create visualization jobs of TensorBoard and MindInsight types on ModelArts.
TensorBoard supports training jobs based on the TensorFlow engine, and MindInsight supports training jobs based on the MindSpore engine.
TensorBoard and MindInsight can effectively display the change trend of a training job and the data used in the training.
You can use the summary file generated during model training to create a visualization job.
To ensure that the summary file is generated in the training result, you need to add the related code to the training script.
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.
MindSpore allows you to save data to the summary log file and display the data on the GUI. For details, see the MindSpore official website.
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.
In the visualization job list, click the name of the target visualization job. The TensorBoard page is displayed. Only the visualization job in the Running status can be opened.
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.
A deleted visualized job cannot be recovered. You need to create a new visualization job if you want to use it. Exercise caution when performing this operation.