浏览代码

Using-Docker.md miss a backslash in 3DBall command (#2239)

* Using-Docker.md miss a backslash in 3DBall command

Hi,

Just a quick edit because a backslash seems to be missing from the 3DBall command example.

* Added interactive options and Tensorboard documentation for Docker training
/develop-generalizationTraining-TrainerController
Chris Elion 6 年前
当前提交
a523d60b
共有 6 个文件被更改,包括 80 次插入3 次删除
  1. 23
      docs/Using-Docker.md
  2. 28
      .github/ISSUE_TEMPLATE/bug_report.md
  3. 12
      .github/ISSUE_TEMPLATE/discussion---general-questions.md
  4. 20
      .github/ISSUE_TEMPLATE/feature_request.md

23
docs/Using-Docker.md


the repository:
```sh
docker run --name <container-name> \
docker run -it --name <container-name> \
-p 6006:6006 \
<image-name>:latest \
--docker-target-name=unity-volume \
<trainer-config-file> \

To train with a `3DBall` environment executable, the command would be:
```sh
docker run --name 3DBallContainer.first.trial \
docker run -it --name 3DBallContainer.first.trial \
-p 6006:6006 \
--env=3DBall
--env=3DBall \
--train \
--run-id=3dball_first_trial
```

**NOTE** If you are training using docker for environments that use visual observations, you may need to increase the default memory that Docker allocates for the container. For example, see [here](https://docs.docker.com/docker-for-mac/#advanced) for instructions for Docker for Mac.
### Running Tensorboard
You can run Tensorboard to monitor your training instance on http://localhost:6006:
```sh
docker exec -it <container-name> tensorboard --logdir=/unity-volume/summaries --host=0.0.0.0
```
With out previous 3DBall example, this command would look like this:
```sh
docker exec -it 3DBallContainer.first.trial tensorboard --logdir=/unity-volume/summaries --host=0.0.0.0
```
For more details on Tensorboard, check out the documentation about [Using Tensorboard](Using-Tensorboard.md).
### Stopping Container and Saving State

28
.github/ISSUE_TEMPLATE/bug_report.md


---
name: Bug report
about: Report a bug with ML-Agents
title: ''
labels: bug
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Environment (please complete the following information):**
- OS + version: [e.g. Windows 10]
- _ML-Agents version_: (e.g. ML-Agents v0.8, or latest `develop` branch from source)
- _Environment_: (which example environment you used to reproduce the error)
**NOTE:** We are unable to help reproduce bugs with custom environments. Please attempt to reproduce your issue with one of the example environments, or provide a minimal patch to one of the environments needed to reproduce the issue.

12
.github/ISSUE_TEMPLATE/discussion---general-questions.md


---
name: Discussion / General Questions
about: Discussion about ML-Agents, RL algorithms, or game integrations
title: ''
labels: discussion
assignees: ''
---
Describe what you'd like to discuss.
**Note**: The ML-Agents team has limited resources for education and community discussion. We'll participate as we are able, but encourage members of the community to support one another to discuss and support one another.

20
.github/ISSUE_TEMPLATE/feature_request.md


---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: request
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
正在加载...
取消
保存