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?

Unity ML-Agentsの学習実行エラーを解決する

Last updated at Posted at 2024-09-24

はじめに

こんにちは!大学の卒業研究でUnity ML-Agentsを使用しているのですが、理解が浅いことでエラーに遭遇したので、勉強のために記事を書いてみました。

環境構築は無事終わり、学習を実行させようとするとエラーが出てきました。同じような方がいたら参考になれば幸いです。

1. protobufバージョンエラー

エラーの内容は「protobufパッケージを3.20.x以下にダウングレード」しろと書かれています。
2024-09-15_220843.png

次のコマンドを入力

pip install protobuf==3.20

上記のコマンドでprotobufのバージョンを下げると成功しました。
2024-09-15_221005.png

2. ファイルの場所が違うエラー

以下の内容は「そんなファイルは見当たらないよ」というエラーです。
2024-09-15_220233.png
確認してみるとファイルの階層が違っていたので、修正すると直りました。

さいごに

最後まで見ていただき、ありがとうございました🙇
Unity ML-Agentsの情報が少なく、まだ勉強中のため、間違っていることもあるかもしれませんが多めに見ていただけると幸いです。今後も様々な技術の情報を記載していこうと思いますので、よろしくお願いします。

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?