From d2227b939dc9267c11a73eb8fefe2d1f739eaf91 Mon Sep 17 00:00:00 2001 From: Sniffleupagus Date: Sun, 18 Jun 2023 18:28:57 -0700 Subject: [PATCH] changed cutoff for "extended channels" from 140 to 150 to alleviate "shape into shape" ai error - more of a bandaid than a fix --- pwnagotchi/ai/gym.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnagotchi/ai/gym.py b/pwnagotchi/ai/gym.py index de5c94ce..a79ebc9f 100644 --- a/pwnagotchi/ai/gym.py +++ b/pwnagotchi/ai/gym.py @@ -36,7 +36,7 @@ class Environment(gym.Env): # see https://github.com/evilsocket/pwnagotchi/issues/583 self._supported_channels = agent.supported_channels() - self._extended_spectrum = any(ch > 140 for ch in self._supported_channels) + self._extended_spectrum = any(ch > 150 for ch in self._supported_channels) self._histogram_size, self._observation_shape = featurizer.describe(self._extended_spectrum) Environment.params += [