Help Center/ ModelArts/ Troubleshooting/ Training Jobs/ OBS Operation Issues/ Error Message "ValueError: Invalid endpoint: obs.xxxx.com" Displayed in Logs
Updated on 2024-04-30 GMT+08:00

Error Message "ValueError: Invalid endpoint: obs.xxxx.com" Displayed in Logs

Symptom

When TensorBoard is used to directly write data in an OBS path for a training job, an error is displayed.

Figure 1 Error log

Possible Causes

It is unstable to use TensorBoard to directly write data in OBS.

Solution

Locally write data and then copy it back to OBS.

Summary and Suggestions

Before creating a training job, use the ModelArts development environment to debug the training code to maximally eliminate errors in code migration.