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でdocker run image trainがエラーになる

Posted at

はじめに

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

問題

Training Jobをカスタムイメージで利用したところ以下のエラーが発生した

$ docker run -v $(pwd)/test_dir:/opt/ml --name sagemaker --rm ${image} train
[FATAL tini (7)] exec train failed: No such file or directory

解決方法

ローカルで動かす場合は以下のように変更したところ動くようになった

$ docker run -v $(pwd)/test_dir:/opt/ml --name sagemaker --rm ${image} ./train
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?