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 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则