Commit 6cde04f5 authored by Jyotish P's avatar Jyotish P

Update readme

parent cc8cc7be
This diff is collapsed.
## Train an agent
Training your first agent is super easy with this one line command. It might take a long time though, but you can try it out for a few epochs.
```bash
python Forge.py train --config=SmallMultimodalSkills --LOAD=False
```
- If you want to change the config for the agent, check out `neural-mmo/projekt/config.py`
- We recommend you to subclass the `CompetitionRound1` class and add your config changes.
- Lot more details about training and the environment are available in the [neural-mmo documentation](https://jsuarez5341.github.io/neural-mmo/build/html/rst/userguide.html)
# Define agents that will be used for evaluation.
# Agents need to implement abstract class NeuralMMOAgent.
# Agents will be located in agents/
# Number of opponent agents is exactly 127
player_agent:
file: scripted_baseline_agent
agent_class: BaselineCombatAgent
agent_type: scripted
opponent_agents:
agent_1:
file: scripted_baseline_agent
agent_class: BaselineForageAgent
agent_type: scripted
num_agents: 50
agent_2:
file: scripted_baseline_agent
agent_class: BaselineCombatAgent
agent_type: scripted
num_agents: 45
agent_3:
file: random_agent
agent_class: RandomNeuralMMOAgent
agent_type: neural
num_agents: 6
agent_4:
file: scripted_baseline_agent
agent_class: BaselineRandomAgent
agent_type: scripted
num_agents: 26
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment