Skip to content

Commit

Permalink
viewing logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Charana Umesha committed Jun 7, 2023
1 parent 4459029 commit f9c8ace
Showing 1 changed file with 55 additions and 5 deletions.
60 changes: 55 additions & 5 deletions RL.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -790,19 +790,69 @@
"env.step(action)"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"## Viewing logs"
]
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 51,
"metadata": {},
"outputs": [],
"source": []
"source": [
"training_log_path = os.path.join(log_path, 'PPO_1')"
]
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 52,
"metadata": {},
"outputs": [],
"source": []
"outputs": [
{
"data": {
"text/plain": [
"'Training\\\\Logs\\\\PPO_1'"
]
},
"execution_count": 52,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"training_log_path"
]
},
{
"cell_type": "code",
"execution_count": 53,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"^C\n"
]
}
],
"source": [
"!tensorboard --logdir=(training_log_path)\n",
"\n",
"## got to localhost:6006"
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"## Adding a callback to the training"
]
},
{
"cell_type": "code",
Expand Down

0 comments on commit f9c8ace

Please sign in to comment.