Model Initialization
Demo
In order to test out the SDK, users can create a demo agent that can start taking actions in their game! The purpose of the demo agent is to test out the entire flow of feeding in a state, taking actions, collecting data, and executing the actions in-game.
Production
When initializing a model in-game, we need to use the following inputs:
architectureId
: A model architecture that has been registereduserId
: Unique identifier for a specific playerslotIdx
: Which model to use since each player may have multiple model slots
If NRN detects that there is already a model loaded for that user, it will load the trained model. In order to create a new randomly initialized model, developers can either input an unused slotIdx
when creating the agent or call the reset
method (currently only available in Javascript).
Last updated