mirror of
https://github.com/jcreek/Sarpy.git
synced 2026-07-13 03:03:43 +00:00
feat(*): Update bot and training
This commit is contained in:
+2
-1
@@ -9,6 +9,7 @@ from agent import Agent
|
||||
# from obs.default_obs import DefaultObs
|
||||
from rlgym.utils.obs_builders import AdvancedObs
|
||||
from rlgym_compat import GameState
|
||||
from rlgym.utils.action_parsers import DiscreteAction
|
||||
|
||||
|
||||
class Sarpy(BaseAgent):
|
||||
@@ -19,7 +20,7 @@ class Sarpy(BaseAgent):
|
||||
# Swap the obs builder if you are using a different one, RLGym's AdvancedObs is also available
|
||||
self.obs_builder = AdvancedObs()
|
||||
# Swap the action parser if you are using a different one, RLGym's Discrete and Continuous are also available
|
||||
self.act_parser = DefaultAction()
|
||||
self.act_parser = DiscreteAction()
|
||||
# Your neural network logic goes inside the Agent class, go take a look inside src/agent.py
|
||||
self.agent = Agent()
|
||||
# Adjust the tickskip if your agent was trained with a different value
|
||||
|
||||
Reference in New Issue
Block a user