You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried running train_sp.py but it didn't work.
I don't know the reason, so I want to ask for help.
Error message:
Traceback (most recent call last):
File "/disk2/zya/htm_pro/htm-paper/frontiers/the_htm_spatial_pooler_a_neocortical_algorithm_for_online_sparse_distributed_coding/train_sp.py", line 640, in
Metrics, expName = runSPexperiments(expConfig)
File "/disk2/zya/htm_pro/htm-paper/frontiers/the_htm_spatial_pooler_a_neocortical_algorithm_for_online_sparse_distributed_coding/train_sp.py", line 553, in runSPexperiments
reconstructionError(sp, testInputs, activeColumnsCurrentEpoch))
File "/disk2/zya/env/paper-htm/lib/python2.7/site-packages/htmresearch/frameworks/sp_paper/sp_metrics.py", line 836, in reconstructionError
numActiveColumns = int(sp._localAreaDensity * sp._numColumns) + 0.0
AttributeError: 'SpatialPooler' object has no attribute '_localAreaDensity'
The text was updated successfully, but these errors were encountered:
I tried running train_sp.py but it didn't work.
I don't know the reason, so I want to ask for help.
Error message:
Traceback (most recent call last):
File "/disk2/zya/htm_pro/htm-paper/frontiers/the_htm_spatial_pooler_a_neocortical_algorithm_for_online_sparse_distributed_coding/train_sp.py", line 640, in
Metrics, expName = runSPexperiments(expConfig)
File "/disk2/zya/htm_pro/htm-paper/frontiers/the_htm_spatial_pooler_a_neocortical_algorithm_for_online_sparse_distributed_coding/train_sp.py", line 553, in runSPexperiments
reconstructionError(sp, testInputs, activeColumnsCurrentEpoch))
File "/disk2/zya/env/paper-htm/lib/python2.7/site-packages/htmresearch/frameworks/sp_paper/sp_metrics.py", line 836, in reconstructionError
numActiveColumns = int(sp._localAreaDensity * sp._numColumns) + 0.0
AttributeError: 'SpatialPooler' object has no attribute '_localAreaDensity'
The text was updated successfully, but these errors were encountered: