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
..E..s
======================================================================
ERROR: testCategoryPredictions (__main__.TwoGramModelTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "two_gram_model_test.py", line 144, in testCategoryPredictions
results = twoGramModel.run(inputRecord)
File "D:\nupic\src\python\python3\nupic\frameworks\opf\two_gram_model.py", line 71, in run
inputFieldEncodings = self._encoder.encodeEachField(inputRecord)
File "D:\nupic\src\python\python3\nupic\encoders\multi.py", line 127, in encodeEachField
encodings.append(encoder.encode(getattr(inputRecord, name)))
File "D:\nupic\src\python\python3\nupic\encoders\base.py", line 150, in encode
self.encodeIntoArray(inputData, output)
File "D:\nupic\src\python\python3\nupic\encoders\sdr_category.py", line 240, in encodeIntoArray
index = self.getBucketIndices(input)[0]
File "D:\nupic\src\python\python3\nupic\encoders\sdr_category.py", line 232, in getBucketIndices
return self.getScalars(input)
File "D:\nupic\src\python\python3\nupic\encoders\sdr_category.py", line 218, in getScalars
self._addCategory(input)
File "D:\nupic\src\python\python3\nupic\encoders\sdr_category.py", line 170, in _addCategory
newrep = self._newRep()
File "D:\nupic\src\python\python3\nupic\encoders\sdr_category.py", line 198, in _newRep
"%d attempts" % (self.ncategories, maxAttempts))
RuntimeError: Error, could not find unique pattern 1 after 1000 attempts
----------------------------------------------------------------------
Ran 6 tests in 0.146s
FAILED (errors=1, skipped=1)
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: