htm-community / htmpandavis Goto Github PK
View Code? Open in Web Editor NEW3D Visualization tool for HTM systems
License: GNU Affero General Public License v3.0
3D Visualization tool for HTM systems
License: GNU Affero General Public License v3.0
ModuleNotFoundError: No module named 'htm.bindings.algorithms'
Extract from Numenta Discussion Forum
Hi, getting the following error when trying to run the hotgym example with pandavis (runs fine without pandavis). Can you please advise?
File โ/Users/soubhikchatterjee/.local/lib/python3.7/site-packages/HTMpandaVis-0.1-py3.7.egg/pandaBaker/pandaBaker.pyโ, line 56, in PrepareDatabase
self.db.Insert(tableName, regionName,regionInstance[0], json.dumps(regionInstance[1].getParameters()))
RuntimeError: Attribute getParameters not found.
Zbysekz
HTM Wizard
4d
Hello, please this kind of problems post as issues in github repository.
Anyway, it seems that you have pretty old pandaVis version (0.1) package, but current is 1.0.
I have installed Pandavis from this repository. Please advise how to get the current version.
as discussed in htm-community/htm.core#748
Rework of vis to use SQLite3 database.
Hi all,
First of thanks for the contribution of pandaVis, I would like to use the visualizations of the l2l4l6a experiment for a study project.
When running experiment1.py of the 2d object modelling project with the setting self.bakePandaData = True
(line 72), I get the error
Exception: Missing command method: saveConnectionsToFile
Traceback (most recent call last):
File "/home/felix/labcourse2022/htm-2d-object-modeling/python/experiment1.py", line 380, in <module>
experiment.learn(parameters, 0)
File "/home/felix/labcourse2022/htm-2d-object-modeling/python/experiment1.py", line 270, in learn
self.network.learn(streamForAllColumns)
File "/home/felix/labcourse2022/htm-2d-object-modeling/venv/lib/python3.8/site-packages/htm.core-2.1.16-py3.8-linux-x86_64.egg/htm/advanced/support/logging_decorator.py", line 84, in _fn
return fn(instance, *args, **kwargs)
File "/home/felix/labcourse2022/htm-2d-object-modeling/python/l2l4l6Framework/l2_l4_l6_Network.py", line 157, in learn
self.sendReset()
File "/home/felix/labcourse2022/htm-2d-object-modeling/venv/lib/python3.8/site-packages/htm.core-2.1.16-py3.8-linux-x86_64.egg/htm/advanced/support/logging_decorator.py", line 84, in _fn
return fn(instance, *args, **kwargs)
File "/home/felix/labcourse2022/htm-2d-object-modeling/python/l2l4l6Framework/l2_l4_l6_Network.py", line 132, in sendReset
self.network.run(1)
File "/home/felix/labcourse2022/htm-2d-object-modeling/venv/lib/python3.8/site-packages/HTMpandaVis-0.1-py3.8.egg/pandaBaker/pandaNetwork.py", line 37, in run
File "/home/felix/labcourse2022/htm-2d-object-modeling/venv/lib/python3.8/site-packages/HTMpandaVis-0.1-py3.8.egg/pandaBaker/pandaBaker.py", line 96, in StoreIteration
File "/home/felix/labcourse2022/htm-2d-object-modeling/venv/lib/python3.8/site-packages/htm.core-2.1.16-py3.8-linux-x86_64.egg/htm/bindings/regions/PyRegion.py", line 354, in executeMethod
raise Exception('Missing command method: ' + methodName)
Exception: Missing command method: saveConnectionsToFile
in the current htm.core repository the region py.GridCellLocationRegion doesn't implement the saveConnectionsToFile Method (executed here).
I assume implementing the method and saving the right connections will fix this problem and I will try changing the code in these classes to implement the method.
But as I'm not super familiar with all the htm.core bindings & stuff yet I was wondering if there is a workaround for that you (@Zbysekz) used for the visualization in your video
Best,
Felix
Hi @Zbysekz , this looks really awesome! ๐ Congratulations!
And thanks for bringing the project under the htm-community umbrella.
A few suggestions as I'm going to test this proj:
requirements.txt
file for easier install##Related community work
Community projects for working with HTM.
### Visualization
#### HTMPandaVis
and put your short description and a nice image here
?
Hi , one problem on run application.my environment is ubuntu18 and Annaconda ,i try run it ,but has problem. please help .Thanks
`Traceback (most recent call last):
File "hotgym.py", line 340, in
main()
File "hotgym.py", line 216, in main
pdf = predictor.infer(count, tm.getActiveCells())
TypeError: infer(): incompatible function arguments. The following argument types are supported:
1. (self: htm.bindings.algorithms.Predictor, pattern: htm.bindings.sdr.SDR) -> Dict[int, List[float]]
Invoked with: <htm.bindings.algorithms.Predictor object at 0x7f2eabb52e30>, 0, <htm.bindings.sdr.SDR object at 0x7f2eabb52ea0>
`
RuntimeError: Attribute getParameters not found
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.