Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>

Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-08-30 21:19:36 +02:00
parent 18331d3314
commit e085238e2f
3 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
import logging
import gym
from gym import spaces
import gymnasium
from gymnasium import spaces
import numpy as np
import pwnagotchi.ai.featurizer as featurizer
@ -8,7 +8,7 @@ import pwnagotchi.ai.reward as reward
from pwnagotchi.ai.parameter import Parameter
class Environment(gym.Env):
class Environment(gymnasium.Env):
metadata = {'render.modes': ['human']}
params = [
Parameter('min_rssi', min_value=-200, max_value=-50),

View File

@ -1,4 +1,4 @@
from gym import spaces
from gymnasium import spaces
class Parameter(object):

View File

@ -1,4 +1,4 @@
gym>=0.26.2
Gymnasium
shimmy
pycryptodome>=3.9.4
requests>=2.21.0