Help Center/
ModelArts/
FAQs/
Training Jobs/
Reading Data During Training/
How Do I Define Path Variables When Using MoXing?
Updated on 2025-09-08 GMT+08:00
How Do I Define Path Variables When Using MoXing?
Symptom
mox.file.copy_parallel(src_obs_dir=input_storage,'obs://dyyolov8/yolov5_test/yolov5-7.0/datasets'),
How do I define an OBS path as a variable in the mox function?
Solution
The following is an example of defining a variable:
input_storage = './test.py' import moxing as mox mox.file.copy_parallel(input_storage,'obs://dyyolov8/yolov5_test/yolov5-7.0/datasets')
Parent topic: Reading Data During Training
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.