0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

SageMaker Training JobでUploadingでエラーになる

Posted at

はじめに

この記事は2022年2月にまとめていた「細かいつまずいたことをメモしておく(2月編)をそれぞれ投稿した内容になります
解決方法が最新でない可能性もありますのでご了承ください

問題

SageMaker Training JobでUploadingのタイミングでエラーになっていた
CloudWatchのログをみると以下のエラーがでていた

[FATAL tini (7)] exec train failed: No such file or directory

解決方法

これはSageMakerのファイルパスが正しく設定されていないのが原因

Dockerfileに以下を追加した

Dockerfile
ENV PATH="/opt/program:${PATH}"

ちなみに出力先は/opt/ml/modelになるので出力ファイルはすべてこの中に書き出すようにする

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?