Skip to content

Commit

Permalink
fix(notebooks): pin brax version + remove autoreload (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixchalumeau authored Jul 9, 2022
1 parent a950722 commit 7dce7a0
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 102 deletions.
10 changes: 0 additions & 10 deletions notebooks/cmamega_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,6 @@
"- how to visualise the optimization process"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%load_ext autoreload\n",
"%autoreload 2"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down
12 changes: 1 addition & 11 deletions notebooks/dads_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,6 @@
"- how to visualise the final trajectories learned"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%load_ext autoreload\n",
"%autoreload 2"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand All @@ -55,7 +45,7 @@
"try:\n",
" import brax\n",
"except:\n",
" !pip install git+https://github.com/google/brax.git@main |tail -n 1\n",
" !pip install git+https://github.com/google/brax.git@v0.0.12 |tail -n 1\n",
" import brax\n",
"\n",
"try:\n",
Expand Down
12 changes: 1 addition & 11 deletions notebooks/diayn_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,6 @@
"- how to visualise the final trajectories learned"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%load_ext autoreload\n",
"%autoreload 2"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand All @@ -55,7 +45,7 @@
"try:\n",
" import brax\n",
"except:\n",
" !pip install git+https://github.com/google/brax.git@main |tail -n 1\n",
" !pip install git+https://github.com/google/brax.git@v0.0.12 |tail -n 1\n",
" import brax\n",
"\n",
"try:\n",
Expand Down
12 changes: 1 addition & 11 deletions notebooks/mapelites_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,6 @@
"- how to save/load a repertoire"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%load_ext autoreload\n",
"%autoreload 2"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand All @@ -59,7 +49,7 @@
"try:\n",
" import brax\n",
"except:\n",
" !pip install git+https://github.com/google/brax.git@main |tail -n 1\n",
" !pip install git+https://github.com/google/brax.git@v0.0.12 |tail -n 1\n",
" import brax\n",
"\n",
"try:\n",
Expand Down
18 changes: 6 additions & 12 deletions notebooks/mome_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,6 @@
"- how to visualise the optimization process"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "a555fcb0",
"metadata": {},
"outputs": [],
"source": [
"%load_ext autoreload\n",
"%autoreload 2"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -409,7 +398,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3.8.13 ('qdaxpy38')",
"language": "python",
"name": "python3"
},
Expand All @@ -424,6 +413,11 @@
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.13"
},
"vscode": {
"interpreter": {
"hash": "9ae46cf6a59eb5e192bc4f27fbb5c33d8a30eb9acb43edbb510eeaf7c819ab64"
}
}
},
"nbformat": 4,
Expand Down
10 changes: 0 additions & 10 deletions notebooks/nsga2_spea2_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,6 @@
"- how to visualise the optimization process"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%load_ext autoreload\n",
"%autoreload 2"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down
22 changes: 7 additions & 15 deletions notebooks/omgmega_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,6 @@
"- how to visualise the optimization process"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%load_ext autoreload\n",
"%autoreload 2"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -277,11 +267,8 @@
}
],
"metadata": {
"interpreter": {
"hash": "a5f11f0c88ac347de253fd12f7bdd97be5b86afe71b01b860214a94915ded25a"
},
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3.8.13 ('qdaxpy38')",
"language": "python",
"name": "python3"
},
Expand All @@ -295,7 +282,12 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.10"
"version": "3.8.13"
},
"vscode": {
"interpreter": {
"hash": "9ae46cf6a59eb5e192bc4f27fbb5c33d8a30eb9acb43edbb510eeaf7c819ab64"
}
}
},
"nbformat": 4,
Expand Down
12 changes: 1 addition & 11 deletions notebooks/pgame_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,6 @@
"- how to visualize the results of the training process"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%load_ext autoreload\n",
"%autoreload 2"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand All @@ -58,7 +48,7 @@
"try:\n",
" import brax\n",
"except:\n",
" !pip install git+https://github.com/google/brax.git@main |tail -n 1\n",
" !pip install git+https://github.com/google/brax.git@v0.0.12 |tail -n 1\n",
" import brax\n",
"\n",
"try:\n",
Expand Down
12 changes: 1 addition & 11 deletions notebooks/smerl_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,6 @@
"- how to visualise the final trajectories learned"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%load_ext autoreload\n",
"%autoreload 2"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand All @@ -55,7 +45,7 @@
"try:\n",
" import brax\n",
"except:\n",
" !pip install git+https://github.com/google/brax.git@main |tail -n 1\n",
" !pip install git+https://github.com/google/brax.git@v0.0.12 |tail -n 1\n",
" import brax\n",
"\n",
"try:\n",
Expand Down

0 comments on commit 7dce7a0

Please sign in to comment.