How to Run HTM School Visualizations

visualization
tutorial

#63

somebody made a working Docker config: https://github.com/rconaway/groks.htm/tree/master/school-viz worked upon first run


#64

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.


#65

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


#66

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:

127.0.0.1:56220 - - [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/application.py", line 239, in process return self.handle()
  File "/home/alessandro/.local/share/virtualenvs/nupic-yn_sXeWq/local/lib/python2.7/site-packages/web/application.py", 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/application.py", line 462, in _delegate return handle_class(cls)
  File "/home/alessandro/.local/share/virtualenvs/nupic-yn_sXeWq/local/lib/python2.7/site-packages/web/application.py", line 438, in handle_class return tocall(*args)
  File "../nupic-history-server/webserver.py", line 88, in POST sp.save()
  File "/home/alessandro/Nextcloud/Leuphana/Masterthesis/Anomaly_Detection/nupic-history-server/nupic_history/sp_facade.py", line 53, in save ioClient.saveEncoding(self._input, id, iteration)
  File "/home/alessandro/Nextcloud/Leuphana/Masterthesis/Anomaly_Detection/nupic-history-server/nupic_history/io_client.py", line 63, in saveEncoding self._writeData(key, encoding)
  File "/home/alessandro/Nextcloud/Leuphana/Masterthesis/Anomaly_Detection/nupic-history-server/nupic_history/io_client.py", line 43, in _writeData with open(path, "w") as fileout:
IOError: [Errno 2] No such file or directory: './working/htm_encoding_b87ba075_0.npc'

127.0.0.1:56222 - - [31/Jan/2019 17:08:32] "HTTP/1.1 POST /_sp/" - 500 Internal Server Error

Thank you in advance for your help.


#67

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


#68

@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


#69

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