import struct from mlagents.envs.side_channel.side_channel import SideChannel from mlagents.envs.side_channel.float_properties_channel import FloatPropertiesChannel from mlagents.envs.side_channel.raw_bytes_channel import RawBytesChannel from mlagents.envs.environment import UnityEnvironment class IntChannel(SideChannel): def __init__(self): self.list_int = [] super().__init__() @property def channel_type(self): return -1 def on_message_received(self, data): val = struct.unpack_from("