How Do I Use Training Code from a Training Jobs After Debugging the Code in a Notebook Instance?
After the training code is debugged in a notebook instance, if you need to use the training code for training jobs on ModelArts, convert the IPYNB file into a Python file.
On the Jupyter page, click Convert to Python File to convert the training code to a Python file (.py file). For details, see Using the Convert to Python File Function. After the conversion is completed, call a MoXing API to place the Python file in any OBS directory. Alternatively, manually upload the Python file to OBS. Then, select the OBS path in the ModelArts training job to use the training code.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.