Skip to content

Commit 4f3d211

Browse files
Fixing tensorboard command line params (#4262)
* Update Using-Tensorboard.md "--logdir=results" is broken in newer versions of tensor board; "logdir results" without the equal sign works. See tensorflow/tensorboard#686 * Removing equal sign from tensorboard command line params in docs Co-authored-by: Nancy Iskander <[email protected]>
1 parent 0539915 commit 4f3d211

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

docs/Getting-Started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ directory. In order to observe the training process in more detail, you can use
211211
TensorBoard. From the command line run:
212212

213213
```sh
214-
tensorboard --logdir=results
214+
tensorboard --logdir results
215215
```
216216

217217
Then navigate to `localhost:6006` in your browser to view the TensorBoard

docs/Training-on-Microsoft-Azure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Once you have started training, you can
101101
2. Unless you started the training as a background process, connect to your VM
102102
from another terminal instance.
103103
3. Run the following command from your terminal
104-
`tensorboard --logdir=summaries --host 0.0.0.0`
104+
`tensorboard --logdir results --host 0.0.0.0`
105105
4. You should now be able to open a browser and navigate to
106106
`<Your_VM_IP_Address>:6060` to view the TensorBoard report.
107107

docs/Using-Docker.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,13 +150,13 @@ You can run Tensorboard to monitor your training instance on
150150
http://localhost:6006:
151151

152152
```sh
153-
docker exec -it <container-name> tensorboard --logdir=/unity-volume/summaries --host=0.0.0.0
153+
docker exec -it <container-name> tensorboard --logdir /unity-volume/results --host 0.0.0.0
154154
```
155155

156156
With our previous 3DBall example, this command would look like this:
157157

158158
```sh
159-
docker exec -it 3DBallContainer.first.trial tensorboard --logdir=/unity-volume/summaries --host=0.0.0.0
159+
docker exec -it 3DBallContainer.first.trial tensorboard --logdir /unity-volume/results --host 0.0.0.0
160160
```
161161

162162
For more details on Tensorboard, check out the documentation about

docs/Using-Tensorboard.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ start TensorBoard:
1212

1313
1. Open a terminal or console window:
1414
1. Navigate to the directory where the ML-Agents Toolkit is installed.
15-
1. From the command line run: `tensorboard --logdir=results --port=6006`
15+
1. From the command line run: `tensorboard --logdir results --port 6006`
1616
1. Open a browser window and navigate to
1717
[localhost:6006](http://localhost:6006).
1818

docs/localized/zh-CN/docs/Getting-Started-with-Balance-Ball.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,10 +274,10 @@ python3 python/learn.py <env_name> --run-id=<run-identifier> --train
274274
### 观测训练进度
275275

276276
开始使用 `learn.py` 按照前面部分所述的方式进行训练后,`ml-agents` 文件夹将
277-
包含一个 `summaries` 目录。为了更详细地观测训练过程,
277+
包含一个 `results` 目录。为了更详细地观测训练过程,
278278
您可以使用 TensorBoard。从命令行中运行:
279279

280-
`tensorboard --logdir=summaries`
280+
`tensorboard --logdir results`
281281

282282
然后导航至 `localhost:6006`
283283

0 commit comments

Comments
 (0)