Help Center/ ModelArts/ FAQs/ Training Jobs/ Creating a Training Job/ What Are Precautions for Setting Training Parameters?
Updated on 2024-06-11 GMT+08:00

What Are Precautions for Setting Training Parameters?

Pay attention to the following when setting training parameters:

  • If the algorithm source and data source have been configured, the data_url parameter is automatically set based on the selected object and cannot be directly modified by changing the running parameters.
    Figure 1 Running parameters automatically set
  • When setting running parameters for creating a training job, you only need to set the corresponding parameter names and values. See Figure 2.
    Figure 2 Setting running parameters
  • If a parameter value is an OBS bucket path, use the path (starting with obs://) to the data. See Figure 3.
    Figure 3 Configuring an OBS path
  • When creating an OBS folder in code, call a MoXing API as follows:
    import moxing as mox
    mox.file.make_dirs('obs://bucket_name/sub_dir_0/sub_dir_1')