Skip to content
This repository has been archived by the owner on Mar 17, 2019. It is now read-only.

Commit

Permalink
Merge branch 'master' of https://github.com/erlerobot/gym-gazebo
Browse files Browse the repository at this point in the history
  • Loading branch information
rkojcev committed Apr 24, 2018
2 parents 25c8257 + 95f63ee commit 1fbedc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Note: all the setup scripts are available in `gym_gazebo/envs/installation`
- Run any of the examples available in `examples/`. E.g.:

```bash
cd examples/scripts_turtlebot
cd examples/turtlebot
python circuit2_turtlebot_lidar_qlearn.py
```

Expand Down
4 changes: 2 additions & 2 deletions examples/turtlebot/circuit2_turtlebot_lidar_dqn.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,11 +308,11 @@ def clear_monitor_files(training_dir):
memorySize = d.get('memorySize')
network_inputs = d.get('network_inputs')
network_outputs = d.get('network_outputs')
network_layers = d.get('network_structure')
network_structure = d.get('network_structure')
current_epoch = d.get('current_epoch')

deepQ = DeepQ(network_inputs, network_outputs, memorySize, discountFactor, learningRate, learnStart)
deepQ.initNetworks(network_layers)
deepQ.initNetworks(network_structure)
deepQ.loadWeights(weights_path)

clear_monitor_files(outdir)
Expand Down

0 comments on commit 1fbedc1

Please sign in to comment.