Skip to content

Commit 6d4ae61

Browse files
committed
Fix package versions in requirements.txt, clear output in notebook
1 parent 5d6b0d7 commit 6d4ae61

File tree

2 files changed

+5
-18
lines changed

2 files changed

+5
-18
lines changed

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
botorch
2-
cheetah-accelerator
3-
gym
2+
cheetah-accelerator==0.5.18
3+
gym==0.26.2
44
matplotlib
55
notebook
66
numpy

tutorial.ipynb

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -36,27 +36,14 @@
3636
},
3737
{
3838
"cell_type": "code",
39-
"execution_count": 1,
39+
"execution_count": null,
4040
"id": "e538eebc",
4141
"metadata": {
4242
"slideshow": {
4343
"slide_type": "-"
4444
}
4545
},
46-
"outputs": [
47-
{
48-
"ename": "ModuleNotFoundError",
49-
"evalue": "No module named 'gym'",
50-
"output_type": "error",
51-
"traceback": [
52-
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
53-
"\u001b[0;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)",
54-
"Input \u001b[0;32mIn [1]\u001b[0m, in \u001b[0;36m<cell line: 1>\u001b[0;34m()\u001b[0m\n\u001b[0;32m----> 1\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mconfig\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;241m*\u001b[39m\n\u001b[1;32m 2\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mimportlib\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m reload\n\u001b[1;32m 3\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mtime\u001b[39;00m\n",
55-
"File \u001b[0;32m~/Repositories/github/TUDa-NMAP-14/config.py:8\u001b[0m, in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[1;32m 6\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mbotorch\u001b[39;00m\n\u001b[1;32m 7\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mgpytorch\u001b[39;00m\n\u001b[0;32m----> 8\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mgym\u001b[39;00m\n\u001b[1;32m 9\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mmatplotlib\u001b[39;00m\n\u001b[1;32m 10\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mmatplotlib\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mpyplot\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m \u001b[38;5;21;01mplt\u001b[39;00m\n",
56-
"\u001b[0;31mModuleNotFoundError\u001b[0m: No module named 'gym'"
57-
]
58-
}
59-
],
46+
"outputs": [],
6047
"source": [
6148
"from config import *\n",
6249
"from importlib import reload\n",
@@ -1594,7 +1581,7 @@
15941581
"name": "python",
15951582
"nbconvert_exporter": "python",
15961583
"pygments_lexer": "ipython3",
1597-
"version": "3.9.12"
1584+
"version": "3.10.13"
15981585
},
15991586
"rise": {
16001587
"enable_chalkboard": true,

0 commit comments

Comments
 (0)