How to Run HTM School Visualizations



somebody made a working Docker config: worked upon first run


Awesome visualisations. However it took me some time to get it running because of incompatible version of nodejs, the webpack command did not work (I had to follow instructions in the cell-viz repo) and it unpacked into dist/cell-viz-3d-1.4.9.min.js instead to out/dyson.js. Maybe it would be good to mention this in the guide.


Someday I’ll be back in this codebase and I’ll update it all. In the meantime, feel free to create a PR.


Hi all,
I am wondering if you manged to run the simulation for Ep8/Sp Learning Comparison.
I read in some comment that Matt is not using redis-server in that Episode but capnp.

Anyway the error log I get is the following: - - [31/Jan/2019 17:08:32] "HTTP/1.1 POST /_sp/" - 200 OK
		_conjurePermanences: 0.432464122772 seconds
	Saving SP b87ba075 to disk...
Traceback (most recent call last):
  File "/home/alessandro/.local/share/virtualenvs/nupic-yn_sXeWq/local/lib/python2.7/site-packages/web/", line 239, in process return self.handle()
  File "/home/alessandro/.local/share/virtualenvs/nupic-yn_sXeWq/local/lib/python2.7/site-packages/web/", line 230, in handle return self._delegate(fn, self.fvars, args)
  File "/home/alessandro/.local/share/virtualenvs/nupic-yn_sXeWq/local/lib/python2.7/site-packages/web/", line 462, in _delegate return handle_class(cls)
  File "/home/alessandro/.local/share/virtualenvs/nupic-yn_sXeWq/local/lib/python2.7/site-packages/web/", line 438, in handle_class return tocall(*args)
  File "../nupic-history-server/", line 88, in POST
  File "/home/alessandro/Nextcloud/Leuphana/Masterthesis/Anomaly_Detection/nupic-history-server/nupic_history/", line 53, in save ioClient.saveEncoding(self._input, id, iteration)
  File "/home/alessandro/Nextcloud/Leuphana/Masterthesis/Anomaly_Detection/nupic-history-server/nupic_history/", line 63, in saveEncoding self._writeData(key, encoding)
  File "/home/alessandro/Nextcloud/Leuphana/Masterthesis/Anomaly_Detection/nupic-history-server/nupic_history/", line 43, in _writeData with open(path, "w") as fileout:
IOError: [Errno 2] No such file or directory: './working/htm_encoding_b87ba075_0.npc' - - [31/Jan/2019 17:08:32] "HTTP/1.1 POST /_sp/" - 500 Internal Server Error

Thank you in advance for your help.


Maybe your workingDir doesn’t exist? Create it? Or change it here:


@rhyolight you are good! Thank you

Now the page frame is loading and I got no error, but still no visualizations…is there any tweak I am missing?

PS: using WASD this link to Ep.10 you posted works and run: How to Run HTM School Visualizations

@vedhas did yon manage to solve your issue? How to Run HTM School Visualizations


Are there any errors in the nupic-history-server logs? Or the web server logs? Or the web client logs?