Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page

Show all

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?

Why Can't I Use os.system ('cd xxx') to Access the Corresponding Folder During Job Training?

Updated on 2024-06-11 GMT+08:00

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')
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback