Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom network reworked #7

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions arena_bringup/launch/start_training.launch
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
<param name="robot_yaml_path" value="$(find arena-simulation-setup)/robot/$(arg model)/$(arg model).model.yaml" />
<param name="tmp_model_path" value="/tmp" />

<!-- Path to a json file to load custom neural network -->
<param name="custom_network_path" value="../network.json"/>

<rosparam command="load" file="$(find arena_bringup)/params/flatland.yaml" />
<rosparam command="load" file="$(find arena_bringup)/params/drl.yaml" />

Expand Down
Empty file modified training/scripts/train_agent.py
100755 → 100644
Empty file.
1 change: 1 addition & 0 deletions training/tools/argsparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def training_args(parser):
import rosnav.model.custom_policy
import rosnav.model.custom_sb3_policy
from rosnav.model.agent_factory import AgentFactory
import rosnav.model.custom_policy_from_json

group.add_argument(
"--agent",
Expand Down