mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
V2.1.1
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com> Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
import logging
|
import logging
|
||||||
import gym
|
import gymnasium
|
||||||
from gym import spaces
|
from gymnasium import spaces
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
import pwnagotchi.ai.featurizer as featurizer
|
import pwnagotchi.ai.featurizer as featurizer
|
||||||
@ -8,7 +8,7 @@ import pwnagotchi.ai.reward as reward
|
|||||||
from pwnagotchi.ai.parameter import Parameter
|
from pwnagotchi.ai.parameter import Parameter
|
||||||
|
|
||||||
|
|
||||||
class Environment(gym.Env):
|
class Environment(gymnasium.Env):
|
||||||
metadata = {'render.modes': ['human']}
|
metadata = {'render.modes': ['human']}
|
||||||
params = [
|
params = [
|
||||||
Parameter('min_rssi', min_value=-200, max_value=-50),
|
Parameter('min_rssi', min_value=-200, max_value=-50),
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
from gym import spaces
|
from gymnasium import spaces
|
||||||
|
|
||||||
|
|
||||||
class Parameter(object):
|
class Parameter(object):
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
gym>=0.26.2
|
Gymnasium
|
||||||
shimmy
|
shimmy
|
||||||
pycryptodome>=3.9.4
|
pycryptodome>=3.9.4
|
||||||
requests>=2.21.0
|
requests>=2.21.0
|
||||||
|
Reference in New Issue
Block a user