remove python stuff & simple DQN implementation

This commit is contained in:
Henri Bourcereau 2025-05-24 22:41:44 +02:00
parent 3d01e8fe06
commit 480b2ff427
19 changed files with 608 additions and 989 deletions

View file

@ -7,12 +7,6 @@
# dev tools
pkgs.samply # code profiler
# generate python classes from rust code (for AI training)
pkgs.maturin
# required by python numpy (for AI training)
pkgs.libz
# for bevy
pkgs.alsa-lib
pkgs.udev
@ -42,28 +36,9 @@
];
enterShell = ''
PYTHONPATH=$PYTHONPATH:$PWD/.devenv/state/venv/lib/python3.12/site-packages
'';
# https://devenv.sh/languages/
languages.rust.enable = true;
# for AI training
languages.python = {
enable = true;
uv.enable = true;
venv.enable = true;
venv.requirements = "
pip
gymnasium
numpy
stable-baselines3
shimmy
";
};
# https://devenv.sh/scripts/
# scripts.hello.exec = "echo hello from $GREET";