Skip to content

Rename examples directories#487

Merged
keisuke-nakata merged 20 commits intochainer:masterfrom
keisuke-nakata:rename-examples-dir
Jul 1, 2019
Merged

Rename examples directories#487
keisuke-nakata merged 20 commits intochainer:masterfrom
keisuke-nakata:rename-examples-dir

Conversation

@keisuke-nakata
Copy link
Copy Markdown
Member

@keisuke-nakata keisuke-nakata commented Jun 19, 2019

Rename some directories under examples/:

update:

ale -> atari
atari -> atari/reproduction
mujoco -> mujoco/reproduction
mujoco tasks in gym/ -> mujoco

@keisuke-nakata keisuke-nakata changed the title Rename examples directories [WIP] Rename examples directories Jun 19, 2019
@keisuke-nakata
Copy link
Copy Markdown
Member Author

For reviewers:
Please check the diff for each commit.
The final diff of this PR is confusing, because examples_tests/atari/test_dqn.sh is renamed to examples_tests/atari/reproduction/test_dqn.sh but also examples_tests/atari/test_dqn.sh is renamed from examples_tests/ale/test_dqn.sh.

@keisuke-nakata keisuke-nakata changed the title [WIP] Rename examples directories Rename examples directories Jun 19, 2019
- `atari/reproduction`: examples with benchmark scores for reproducing published results on Atari
- `gym`: examples for OpenAI Gym environments
- `grasping`: examples for a Bullet-based robotic grasping environment
- `mujoco`: examples with benchmark scores for reproducing published results on MuJoCo tasks
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should mujoco/reproduction be in gym/reproduction? Or should we move gym tasks that use mujoco into mujoco @muupan ?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is, should we have a mujoco and mujoco/reproduction directory, where mujoco tasks formerly in gym move to mujoco?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @prabhatnagarajan @muupan , I'll fix this.

@keisuke-nakata
Copy link
Copy Markdown
Member Author

keisuke-nakata commented Jun 28, 2019

@prabhatnagarajan I moved mujoco scripts formerly in gym, but should I move the corresponding tests as well?
The target environment for mujoco scripts' tests are actually Pendulum-v0 to avoid mujoco license.

I moved the corresponding test scripts, according to the existing examples_tests/mujoco tests.

Copy link
Copy Markdown
Contributor

@prabhatnagarajan prabhatnagarajan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few changes. Looks good though.

outdir=$(mktemp -d)

gpu="$1"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this file be deleted?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file was not removed but renamed cd7180b#diff-9784aa586d342815241085cc9b58991a
(The final diff shows misleading results because I fixed the content of files at same time)

keisuke-nakata and others added 5 commits July 1, 2019 10:46
Co-Authored-By: Prabhat Nagarajan <prabhat.nagarajan@gmail.com>
Co-Authored-By: Prabhat Nagarajan <prabhat.nagarajan@gmail.com>
Co-Authored-By: Prabhat Nagarajan <prabhat.nagarajan@gmail.com>
Co-Authored-By: Prabhat Nagarajan <prabhat.nagarajan@gmail.com>
Co-Authored-By: Prabhat Nagarajan <prabhat.nagarajan@gmail.com>
Copy link
Copy Markdown
Contributor

@prabhatnagarajan prabhatnagarajan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just one small change.

Co-Authored-By: Prabhat Nagarajan <prabhat.nagarajan@gmail.com>
@keisuke-nakata keisuke-nakata merged commit 673e8ce into chainer:master Jul 1, 2019
@muupan muupan added this to the v0.8 milestone Feb 6, 2020
@muupan muupan added the example label Feb 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants