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

gefragt vor einem Jahr92 Aufrufe
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen