Help Center/
ModelArts/
FAQs/
Training Jobs/
Compiling the Training Code/
Why Can't I Use os.system ('cd xxx') to Access the Corresponding Folder During Job Training?
Updated on 2022-12-06 GMT+08:00
Why Can't I Use os.system ('cd xxx') to Access the Corresponding Folder During Job Training?
If you cannot access the corresponding folder by using os.system('cd xxx') in the boot script of the training job, you are advised to use the following method:
import os os.chdir('/home/work/user-job-dir/xxx')
Parent topic: Compiling the Training Code
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot