DEEPRACER : Analysis logs problem

0

Hello, I have a problem with the logs on DeepRacer. I downloaded the "DeepRacer Log Analysis for Model Training" Notebook, I easily specify the RoboMaker & SageMaker Log File Locations. My parameters and hyperparameters seems to work but I can't access to the "action_space" for example. I think I did something wrong but I don't know what. Do you have any idea? Thank you veery much !!!Enter image description here

Retrieve Action Space

action_space = !grep '^Reward Distribution Graph.*racecar' $robomaker_fname action_space = action_space[0].replace('Reward Distribution Graph:', '') action_space = action_space.replace('racecar', '') action_space = action_space.replace("'", '"') action_space = json.loads(action_space) action_space

Error Message :

IndexError Traceback (most recent call last) /tmp/ipykernel_7253/1114400799.py in <cell line: 4>() 2 3 action_space = get_ipython().getoutput("grep '^Reward Distribution Graph.*racecar' $robomaker_fname") ----> 4 action_space = action_space[0].replace('Reward Distribution Graph:', '') 5 action_space = action_space.replace('racecar', '') 6 action_space = action_space.replace("'", '"')

IndexError: list index out of range

One more time, thank you if you can help me !

Have a nice day :)

julie

質問済み 1年前92ビュー
回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ