OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-rocca commits / e857b69

Update Readme
e857b69ecc6e8e07456d5c0a85d593355dab9bd4
by Hedra <tanksh24@gmail.com> · 2023-04-05T16:12:15.000Z

Changed files (1) +24 -15

examples/collect_diamonds/README.md +24 -15
……@@ -246,22 +246,31 @@ The following are optimal action plans the agent learned to get a reward:
246246
247247## Usage
248248
2491. Clone malmo https://github.com/Microsoft/malmo
2491. Clone Malmo
250 ```bash
251 git clone https://github.com/Microsoft/malmo
252 ```
253 NOTE: No need to compile Malmo, as a pre-built version (MalmoPython) is already
254 included in the directory `../rocca/malmo`. All that is required is to install
255 the necessary dependencies ([Windows](https://github.com/microsoft/malmo/blob/master/doc/install_windows.md), [Linux](https://github.com/microsoft/malmo/blob/master/doc/install_linux.md), [MacOSX](https://github.com/microsoft/malmo/blob/master/doc/install_macosx.md)) in order to launch Minecraft.
250256
251 Note: No need to compile malmo as a pre-built version (MalmoPython)
252 has been included under `../rocca/malmo`. Only install the required
253 dependencies to launch minecraft.
2572. Once the dependencies are installed, launch Minecraft at `port 10000`
258 ```bash
259 cd Minecraft
260 .launchClient.sh -port 10000
261 ```
254262
2552. Launch `<MALMO>/Minecraft/launchClient.sh`.
256
2573. Launch collect diamonds `python collect_diamonds.py`.
258
259 - Note: If there is a need to visualize mined cognitive schematics,
260 do the following before step 3.
261
262 - Build and run atompace-explorer here
263 https://github.com/tanksha/atomspace-explorer rocca_demo branch.
2633. Launch the example
264 ```bash
265 python collect_diamonds.py
266```
264267
265 - Start the RESTAPI `python start_rest_service.py`
268Note: If there is a need to visualize mined cognitive schematics using atompace-explorer,
269 the following steps are required before launching the example.
266270
267 - Open `collect_diamonds.py` and set `self.visualize_cogscm = True`
271 a. Build and run atompace-explorer [here] (https://github.com/tanksha/atomspace-explorer rocca_demo branch).
272 b. Start the RESTAPI client (which creates an atomspace to store cognitive schematics to be visualized)
273 ```bash
274 python start_rest_service.py
275 ```
276 c. Set `self.visualize_cogscm = True` in `collect_diamonds.py`