OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-rocca commits / d790467

Reformat README.md
d7904678b404e0742658ceb9a8baf86dc25c2243
by Nil Geisweiller <ngeiswei@gmail.com> · 2022-07-06T12:42:53.000Z

Changed files (1) +24 -9

README.md +24 -9
……@@ -109,24 +109,39 @@ jupyter notebook 01_cartpole.ipynb
109109```
110110
111111### TensorBoard support
112Some experiments, notably the notebooks, use TensorBoard via the `tensorboardX` library to store event files that show certain metrics over time for training / testing (for now it's just rewards).
113112
114By default, event files will be created under the `runs/<datetime><comment>` directory. You can invoke
115`tensorboard --logdir runs` from the project root to start an instance that will see all the files under that directory. Open your browser to `http://localhost:6006` to see its interface.
113Some experiments, notably the notebooks, use TensorBoard via the
114`tensorboardX` library to store event files that show certain metrics
115over time for training / testing (for now it's just rewards).
116
117By default, event files will be created under the
118`runs/<datetime><comment>` directory. You can invoke `tensorboard
119--logdir runs` from the project root to start an instance that will
120see all the files under that directory. Open your browser to
121`http://localhost:6006` to see its interface.
116122
117123## Develop
118124
119If you write code in notebooks that is exported (has the `#export` comment on top of the cell), remember to invoke `nbdev_build_lib` to update the library. Remember to use `black` for formatting, you can invoke `black .` from the project root to format everything.
125If you write code in notebooks that is exported (has the `#export`
126comment on top of the cell), remember to invoke `nbdev_build_lib` to
127update the library. Remember to use `black` for formatting, you can
128invoke `black .` from the project root to format everything.
120129
121You can also use the Makefile for your convenience, invoking `make rocca` will do both of the above in sequence.
130You can also use the Makefile for your convenience, invoking `make
131rocca` will do both of the above in sequence.
122132
123133### Development container
124134
125The `.devcontainer` folder has configuration for [VS Code devcontainer](https://code.visualstudio.com/docs/remote/containers) functionality. You can use it to setup a development environment very quickly and regardless of the OS you use.
135The `.devcontainer` folder has configuration for [VS Code
136devcontainer](https://code.visualstudio.com/docs/remote/containers)
137functionality. You can use it to setup a development environment very
138quickly and regardless of the OS you use.
126139
127The container has a JupyterLab instance running on the port 8888.
128The container has a VNC server running on the port 5901.
129The password for the VNC server started in the container is `vncpassword`. You can use any VNC client to see the results of rendering Gym environments this way.
140- The container has a JupyterLab instance running on the port 8888.
141- The container has a VNC server running on the port 5901.
142- The password for the VNC server started in the container is
143 `vncpassword`. You can use any VNC client to see the results of
144 rendering Gym environments this way.
130145
131146## Tests
132147