Use front-end and back-end commands

Brief introduction

Xiaomi Cloud-ML supports front-end and back-end command features in the same way as the using pre-commands and post-commands <0>.</p>

Usage example

This feature can be used with the command-line parameters -pc and -fc in order to view the training log and verify whether the command was executed successfully.

cloudml models create -n linear -v v1 -u fds://cloud-ml/linear -pc "ls /tmp" -fc "ls /tmp"

Parameters introduction

  • -pc indicates a front-end command. It will execute before the training begins.
  • -fc indicates a back-end command. It will execute after the training has completed.