After installing the latest version of nupic, I tried running the sample code for the mnist class. But I got the “ImageSensor not found” error. After checking the forum post, I learned that I needed to install nupic.vision into my environment.
So I first installed nupic.bindings and htmresearch_core as described in https://github.com/numenta/htmresearch-core;
And then follow the instructions https://github.com/numenta/htmresearch, installed htmresearch;
Finally, I will https://github.com/numenta/nupic.vision downloaded to the local installation.(When I installed nupic.vision, I received a prompt that nupic.vision needed to rely on the nupic version to 0.6.0, so I uninstalled the latest version with pip and installed the 0.6.0 version of the nupic package.)
After the above operation, I ran the sample code of the mnist class again and got the following error:
roy@roy-ubuntu:~/nupic.vision-master/src/nupic/vision/mnist$ python -m nupic.vision.mnist.run_mnist_experiment
WARN: PyRegion::createSpec failed: 0x7fff81da5f60
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/roy/nupic.vision-master/src/nupic/vision/mnist/run_mnist_experiment.py", line 265, in <module>
net = createNetwork()
File "/home/roy/nupic.vision-master/src/nupic/vision/mnist/run_mnist_experiment.py", line 115, in createNetwork
net.addRegion("SP", "py.SPRegion", yaml.dump(DEFAULT_SP_PARAMS))
File "/usr/local/lib/python2.7/dist-packages/nupic/engine/__init__.py", line 645, in addRegion
engine_internal.Network.addRegion(self, name, nodeType, nodeParams)
File "/home/roy/nupic.core-master/bindings/py/src/nupic/bindings/engine_internal.py", line 1167, in addRegion
return _engine_internal.Network_addRegion(self, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/nupic/regions/SPRegion.py", line 26, in <module>
from nupic.bindings.algorithms import SpatialPooler as CPPSpatialPooler
File "/home/roy/nupic.core-master/bindings/py/src/nupic/bindings/algorithms.py", line 119, in <module>
from nupic.proto.Cells4_capnp import Cells4Proto
File "capnp/lib/capnp.pyx", line 3876, in capnp.lib.capnp._Loader.load_module (capnp/lib/capnp.cpp:75312)
File "capnp/lib/capnp.pyx", line 3855, in capnp.lib.capnp.load (capnp/lib/capnp.cpp:74806)
File "capnp/lib/capnp.pyx", line 3192, in capnp.lib.capnp.SchemaParser.load (capnp/lib/capnp.cpp:65957)
capnp.lib.capnp.KjException: /usr/local/lib/python2.7/dist-packages/nupic/proto/RandomProto.capnp:0: failed: Duplicate ID @0x88eaee6db8e1f67c.
stack: 0x7f703dab8e28 0x7f703d9be07b 0x7f703d9be5b5 0x7f703d9eb5ae 0x7f703d9ebbbf 0x7f703d9f2116 0x7f703d9f21eb 0x7f703d9f226b 0x7f703d9f22c4 0x7f703d9fe949 0x7f703d9feafa 0x7f703da0052c 0x7f703d9ea89c 0x7f703d9f0365 0x7f703d9ec1fe 0x7f703d9ec4db
I have tried to switch to the root directory of htmresearch and execute “%> ./run_tests.sh” and i get the following log(Details are hidden, But you can see that the mnist sample code runtime error is also included):
roy@roy-ubuntu:~/htmresearch-master$ ./run_tests.sh
============================= test session starts ==============================
platform linux2 -- Python 2.7.12 -- pytest-2.5.1 -- /usr/bin/python
plugins: xdist, cov
[gw0] linux2 Python 2.7.12 cwd: /home/roy/htmresearch-master
[gw1] linux2 Python 2.7.12 cwd: /home/roy/htmresearch-master
[gw2] linux2 Python 2.7.12 cwd: /home/roy/htmresearch-master
[gw3] linux2 Python 2.7.12 cwd: /home/roy/htmresearch-master
[gw4] linux2 Python 2.7.12 cwd: /home/roy/htmresearch-master
[gw5] linux2 Python 2.7.12 cwd: /home/roy/htmresearch-master
[gw4] Python 2.7.12 (default, Nov 19 2016, 06:48:10) -- [GCC 5.4.0 20160609]
[gw2] Python 2.7.12 (default, Nov 19 2016, 06:48:10) -- [GCC 5.4.0 20160609]
[gw0] Python 2.7.12 (default, Nov 19 2016, 06:48:10) -- [GCC 5.4.0 20160609]
[gw5] Python 2.7.12 (default, Nov 19 2016, 06:48:10) -- [GCC 5.4.0 20160609]
[gw3] Python 2.7.12 (default, Nov 19 2016, 06:48:10) -- [GCC 5.4.0 20160609]
[gw1] Python 2.7.12 (default, Nov 19 2016, 06:48:10) -- [GCC 5.4.0 20160609]
gw0 [102] / gw1 [102] / gw2 [102] / gw3 [102] / gw4 [102] / gw5 [102]
scheduling tests via LoadScheduling
[gw3] ERROR tests/frameworks/layers/combined_sequence_creation_test.py:163: CombinedSequenceNetworkTest.testDataFlowL2L4
[gw5] ERROR tests/frameworks/layers/combined_sequence_creation_test.py:122: CombinedSequenceNetworkTest.testLinks
[gw1] ERROR tests/frameworks/layers/combined_sequence_creation_test.py:355: CombinedSequenceNetworkTest.testDataFlowTM
[gw2] FAILED tests/frameworks/layers/l2456_model_test.py:77: L2456ModelTest.testModelCreation
[gw2] SKIPPED tests/frameworks/layers/l2456_network_creation_test.py <- ../../../usr/lib/python2.7/unittest/case.py:60: L2456NetworkTest.testLinks
[gw0] ERROR tests/frameworks/layers/combined_sequence_creation_test.py:91: CombinedSequenceNetworkTest.testCreate
[gw4] FAILED tests/frameworks/layers/l2456_model_test.py:141: L2456ModelTest.testModelInference
[gw3] FAILED tests/frameworks/layers/l2456_network_creation_test.py:218: L2456NetworkTest.testCreatingMultipleColumns
[gw1] FAILED tests/frameworks/layers/l2456_network_creation_test.py:197: L2456NetworkTest.testCreatingSingleColumn
[gw5] FAILED tests/frameworks/layers/l2456_network_creation_test.py:238: L2456NetworkTest.testIncorrectWidths
[gw0] FAILED tests/frameworks/layers/l2456_model_test.py:106: L2456ModelTest.testModelLearning
[gw2] FAILED tests/frameworks/layers/l2_l4_inference_test.py:428: L4L2ExperimentTest.testObjectClassificationUnit
[gw4] FAILED tests/frameworks/layers/l2_l4_inference_test.py:200: L4L2ExperimentTest.testCapacity
[gw3] FAILED tests/frameworks/layers/l2_l4_inference_test.py:642: L4L2ExperimentTest.testDefaultParameters
[gw5] FAILED tests/frameworks/layers/l2_l4_inference_test.py:477: L4L2ExperimentTest.testObjectClassification
[gw1] FAILED tests/frameworks/layers/l2_l4_inference_test.py:119: L4L2ExperimentTest.testDelayedLateralandApicalInputs
[gw2] ERROR tests/frameworks/layers/l2l4_network_creation_test.py:271: LaminarNetworkTest.testMultipleL4L2ColumnsCreate
[gw0] FAILED tests/frameworks/layers/l2_l4_inference_test.py:293: L4L2ExperimentTest.testConsistency
[gw2] SKIPPED tests/frameworks/layers/physical_objects_test.py:37: PhysicalObjectsTest.testInitParams
[gw4] FAILED tests/frameworks/layers/l2_l4_inference_test.py:59: L4L2ExperimentTest.testSimpleExperiment
[gw3] ERROR tests/frameworks/layers/l2l4_network_creation_test.py:202: LaminarNetworkTest.testL4L2ColumnCreate
[gw2] ERROR tests/regions/coordinate_sensor_test.py:48: CoordinateSensorRegionTest.testSensor
[gw1] ERROR tests/frameworks/layers/l2l4_network_creation_test.py:233: LaminarNetworkTest.testL4L2ColumnLinks
[gw5] ERROR tests/frameworks/layers/l2l4_network_creation_test.py:314: LaminarNetworkTest.testMultipleL4L2ColumnLinks
[gw0] ERROR tests/frameworks/layers/l2l4_network_creation_test.py:521: LaminarNetworkTest.testCustomParameters
[gw4] ERROR tests/frameworks/layers/l2l4_network_creation_test.py <- ../../../usr/lib/python2.7/unittest/case.py:60: LaminarNetworkTest.testMultipleL4L2ColumnsSPCreate
[gw4] SKIPPED tests/frameworks/layers/physical_objects_test.py:113: PhysicalObjectsTest.testPlotSampleFeatures
[gw3] ERROR tests/frameworks/layers/l2l4_network_creation_test.py:423: LaminarNetworkTest.testMultipleL4L2ColumnsWithTopologyLinks
[gw3] SKIPPED tests/frameworks/layers/physical_objects_test.py:63: PhysicalObjectsTest.testSampleContains
[gw1] ERROR tests/frameworks/layers/l2l4_network_creation_test.py:599: LaminarNetworkTest.testSingleColumnL4L2DataFlow
[gw5] ERROR tests/frameworks/layers/l2l4_network_creation_test.py:796: LaminarNetworkTest.testTwoColumnsL4L2DataFlow
[gw0] ERROR tests/frameworks/layers/l2l4_network_creation_test.py:376: LaminarNetworkTest.testMultipleL4L2ColumnsWithTopologyCreate
[gw0] SKIPPED tests/frameworks/layers/physical_objects_test.py:89: PhysicalObjectsTest.testPlotSampleLocations
[gw4] ERROR tests/regions/raw_sensor_test.py:48: RawSensorTest.testSensor
[gw5] ERROR tests/regions/column_pooler_region_test.py:60: ColumnPoolerRegionTest.testOverlap
[gw1] ERROR tests/regions/column_pooler_region_test.py:38: ColumnPoolerRegionTest.testNetworkCreate
[gw2] PASSED tests/algorithms/apical_dependent_temporal_memory/adtm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:273: ApicalDependentTM_BasalSequenceMemoryTests.testB5
[gw0] PASSED tests/algorithms/apical_dependent_temporal_memory/adtm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:201: ApicalDependentTM_BasalSequenceMemoryTests.testB1
[gw3] PASSED tests/algorithms/apical_dependent_temporal_memory/adtm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:416: ApicalDependentTM_BasalSequenceMemoryTests.testB11
[gw2] PASSED tests/algorithms/apical_dependent_temporal_memory/adtm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:704: ApicalDependentTM_BasalSequenceMemoryTests.testH10
[gw0] PASSED tests/algorithms/apical_dependent_temporal_memory/adtm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:326: ApicalDependentTM_BasalSequenceMemoryTests.testB7
[gw2] PASSED tests/algorithms/apical_dependent_temporal_memory/adtm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:201: ApicalDependentTM_ApicalSequenceMemoryTests.testB1
[gw3] PASSED tests/algorithms/apical_dependent_temporal_memory/adtm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:364: ApicalDependentTM_BasalSequenceMemoryTests.testB8
[gw2] PASSED tests/algorithms/apical_dependent_temporal_memory/adtm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:326: ApicalDependentTM_ApicalSequenceMemoryTests.testB7
[gw0] PASSED tests/algorithms/apical_dependent_temporal_memory/adtm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:524: ApicalDependentTM_BasalSequenceMemoryTests.testH3
[gw3] PASSED tests/algorithms/apical_dependent_temporal_memory/adtm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:568: ApicalDependentTM_BasalSequenceMemoryTests.testH4
[gw1] PASSED tests/algorithms/apical_dependent_temporal_memory/adtm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:224: ApicalDependentTM_BasalSequenceMemoryTests.testB3
[gw2] PASSED tests/algorithms/apical_dependent_temporal_memory/adtm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:390: ApicalDependentTM_ApicalSequenceMemoryTests.testB9
[gw1] PASSED tests/algorithms/apical_dependent_temporal_memory/adtm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:390: ApicalDependentTM_BasalSequenceMemoryTests.testB9
[gw0] PASSED tests/algorithms/apical_dependent_temporal_memory/adtm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:224: ApicalDependentTM_ApicalSequenceMemoryTests.testB3
[gw0] PASSED tests/algorithms/apical_dependent_temporal_memory/adtm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:704: ApicalDependentTM_ApicalSequenceMemoryTests.testH10
[gw0] PASSED tests/algorithms/apical_dependent_temporal_memory/adtm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:663: ApicalDependentTM_ApicalSequenceMemoryTests.testH9
[gw0] PASSED tests/algorithms/apical_tiebreak_temporal_memory/attm_apical_tiebreak_sequences_test.py <- htmresearch/support/shared_tests/apical_tiebreak_sequences_test_base.py:147: ApicalTiebreakTM_ApicalTiebreakSequencesTests.testSequenceMemory_FeedbackNarrowsThePredictions
[gw0] PASSED tests/algorithms/apical_tiebreak_temporal_memory/attm_apical_tiebreak_test.py <- htmresearch/support/shared_tests/apical_tiebreak_test_base.py:67: ApicalTiebreakTM_ApicalTiebreakTests.testBasalInputRequiredForPredictions
[gw0] PASSED tests/algorithms/apical_tiebreak_temporal_memory/attm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:224: ApicalTiebreakTM_SequenceMemoryTests.testB3
[gw2] PASSED tests/algorithms/apical_dependent_temporal_memory/adtm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:617: ApicalDependentTM_ApicalSequenceMemoryTests.testH5
[gw2] PASSED tests/algorithms/apical_tiebreak_temporal_memory/attm_apical_tiebreak_sequences_test.py <- htmresearch/support/shared_tests/apical_tiebreak_sequences_test_base.py:94: ApicalTiebreakTM_ApicalTiebreakSequencesTests.testSequenceMemory_BasalPredictionsWithoutFeedback
[gw2] PASSED tests/algorithms/apical_tiebreak_temporal_memory/attm_apical_tiebreak_sequences_test.py <- htmresearch/support/shared_tests/apical_tiebreak_sequences_test_base.py:196: ApicalTiebreakTM_ApicalTiebreakSequencesTests.testSequenceMemory_IncorrectFeedbackLeadsToBursting
[gw2] PASSED tests/algorithms/apical_tiebreak_temporal_memory/attm_apical_tiebreak_test.py <- htmresearch/support/shared_tests/apical_tiebreak_test_base.py:119: ApicalTiebreakTM_ApicalTiebreakTests.testApicalNarrowsThePredictions
[gw2] PASSED tests/algorithms/apical_tiebreak_temporal_memory/attm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:201: ApicalTiebreakTM_SequenceMemoryTests.testB1
[gw1] PASSED tests/algorithms/apical_dependent_temporal_memory/adtm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:617: ApicalDependentTM_BasalSequenceMemoryTests.testH5
[gw2] PASSED tests/algorithms/apical_tiebreak_temporal_memory/attm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:390: ApicalTiebreakTM_SequenceMemoryTests.testB9
[gw1] PASSED tests/algorithms/apical_dependent_temporal_memory/adtm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:273: ApicalDependentTM_ApicalSequenceMemoryTests.testB5
[gw2] PASSED tests/algorithms/apical_tiebreak_temporal_memory/attm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:444: ApicalTiebreakTM_SequenceMemoryTests.testH1
[gw1] PASSED tests/algorithms/apical_dependent_temporal_memory/adtm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:568: ApicalDependentTM_ApicalSequenceMemoryTests.testH4
[gw2] PASSED tests/algorithms/apical_tiebreak_temporal_memory/attm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:704: ApicalTiebreakTM_SequenceMemoryTests.testH10
[gw1] PASSED tests/algorithms/apical_tiebreak_temporal_memory/attm_apical_tiebreak_test.py <- htmresearch/support/shared_tests/apical_tiebreak_test_base.py:149: ApicalTiebreakTM_ApicalTiebreakTests.testUnionOfFeedback
[gw1] PASSED tests/algorithms/apical_tiebreak_temporal_memory/attm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:416: ApicalTiebreakTM_SequenceMemoryTests.testB11
[gw2] PASSED tests/algorithms/apical_tiebreak_temporal_memory/attm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:488: ApicalTiebreakTM_SequenceMemoryTests.testH2
[gw1] PASSED tests/algorithms/apical_tiebreak_temporal_memory/attm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:568: ApicalTiebreakTM_SequenceMemoryTests.testH4
[gw2] PASSED tests/algorithms/apical_tiebreak_temporal_memory/attm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:524: ApicalTiebreakTM_SequenceMemoryTests.testH3
[gw1] PASSED tests/algorithms/apical_tiebreak_temporal_memory/attm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:663: ApicalTiebreakTM_SequenceMemoryTests.testH9
[gw1] PASSED tests/algorithms/union_pooling/logistic_excite_function_test.py:66: LogisticExciteFunctionTest.testExciteFullActivation
[gw1] PASSED tests/algorithms/union_pooling/simple_union_pooler_test.py:106: SimpleUnionPoolerTest.testDimensionError
[gw1] PASSED tests/algorithms/union_pooling/simple_union_pooler_test.py:74: SimpleUnionPoolerTest.testHistoryLength
[gw1] PASSED tests/algorithms/union_pooling/simple_union_pooler_test.py:119: SimpleUnionPoolerTest.testReset
[gw1] PASSED tests/algorithms/union_pooling/simple_union_pooler_test.py:51: SimpleUnionPoolerTest.testUnionMinHistory
[gw0] PASSED tests/algorithms/apical_tiebreak_temporal_memory/attm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:246: ApicalTiebreakTM_SequenceMemoryTests.testB4
[gw0] PASSED tests/algorithms/apical_tiebreak_temporal_memory/attm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:273: ApicalTiebreakTM_SequenceMemoryTests.testB5
[gw2] PASSED tests/algorithms/apical_tiebreak_temporal_memory/attm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:617: ApicalTiebreakTM_SequenceMemoryTests.testH5
[gw2] PASSED tests/algorithms/union_pooling/logistic_excite_function_test.py:39: LogisticExciteFunctionTest.testExcite
[gw2] PASSED tests/algorithms/union_pooling/logistic_excite_function_test.py:51: LogisticExciteFunctionTest.testExciteZeroInputs
[gw2] PASSED tests/algorithms/union_pooling/simple_union_pooler_test.py:93: SimpleUnionPoolerTest.testRepeatActiveCells
[gw2] PASSED tests/algorithms/union_pooling/simple_union_pooler_test.py:36: SimpleUnionPoolerTest.testUnionCompute
[gw5] PASSED tests/algorithms/apical_dependent_temporal_memory/adtm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:246: ApicalDependentTM_BasalSequenceMemoryTests.testB4
[gw3] PASSED tests/algorithms/apical_dependent_temporal_memory/adtm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:246: ApicalDependentTM_ApicalSequenceMemoryTests.testB4
[gw5] PASSED tests/algorithms/apical_dependent_temporal_memory/adtm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:444: ApicalDependentTM_BasalSequenceMemoryTests.testH1
[gw3] PASSED tests/algorithms/apical_dependent_temporal_memory/adtm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:444: ApicalDependentTM_ApicalSequenceMemoryTests.testH1
[gw3] PASSED tests/algorithms/apical_tiebreak_temporal_memory/attm_apical_tiebreak_sequences_test.py <- htmresearch/support/shared_tests/apical_tiebreak_sequences_test_base.py:69: ApicalTiebreakTM_ApicalTiebreakSequencesTests.testSequenceMemory_BasalInputRequiredForPredictions
[gw5] PASSED tests/algorithms/apical_dependent_temporal_memory/adtm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:663: ApicalDependentTM_BasalSequenceMemoryTests.testH9
[gw3] PASSED tests/algorithms/apical_tiebreak_temporal_memory/attm_apical_tiebreak_sequences_test.py <- htmresearch/support/shared_tests/apical_tiebreak_sequences_test_base.py:248: ApicalTiebreakTM_ApicalTiebreakSequencesTests.testSequenceMemory_UnionOfFeedback
[gw3] PASSED tests/algorithms/apical_tiebreak_temporal_memory/attm_apical_tiebreak_test.py <- htmresearch/support/shared_tests/apical_tiebreak_test_base.py:89: ApicalTiebreakTM_ApicalTiebreakTests.testBasalPredictionsWithoutApical
[gw0] PASSED tests/algorithms/apical_tiebreak_temporal_memory/attm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:297: ApicalTiebreakTM_SequenceMemoryTests.testB6
[gw0] PASSED tests/algorithms/apical_tiebreak_temporal_memory/attm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:326: ApicalTiebreakTM_SequenceMemoryTests.testB7
[gw0] PASSED tests/algorithms/apical_tiebreak_temporal_memory/attm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:364: ApicalTiebreakTM_SequenceMemoryTests.testB8
[gw4] PASSED tests/algorithms/apical_dependent_temporal_memory/adtm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:297: ApicalDependentTM_BasalSequenceMemoryTests.testB6
[gw4] PASSED tests/algorithms/apical_dependent_temporal_memory/adtm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:488: ApicalDependentTM_BasalSequenceMemoryTests.testH2
[gw4] PASSED tests/algorithms/apical_dependent_temporal_memory/adtm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:416: ApicalDependentTM_ApicalSequenceMemoryTests.testB11
[gw4] PASSED tests/algorithms/apical_dependent_temporal_memory/adtm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:364: ApicalDependentTM_ApicalSequenceMemoryTests.testB8
[gw4] PASSED tests/algorithms/apical_dependent_temporal_memory/adtm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:488: ApicalDependentTM_ApicalSequenceMemoryTests.testH2
[gw5] PASSED tests/algorithms/apical_dependent_temporal_memory/adtm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:297: ApicalDependentTM_ApicalSequenceMemoryTests.testB6
[gw5] PASSED tests/algorithms/apical_dependent_temporal_memory/adtm_sequence_memory_test.py <- htmresearch/support/shared_tests/sequence_memory_test_base.py:524: ApicalDependentTM_ApicalSequenceMemoryTests.testH3
--------------------------------------- generated xml file: /home/roy/htmresearch-master/junit-test-results.xml ----------------------------------------
--------------------------------------------------- coverage: platform linux2, python 2.7.12-final-0 ---------------------------------------------------
Coverage HTML written to dir htmlcov
============================================= 13 failed, 66 passed, 5 skipped, 18 error in 104.78 seconds ==============================================
I am a student who has just come into contact with HTM. What can I do to run the sample code?