Hi 
I have edited the code and added included numpy to the file when executed I got 
this error

Traceback (most recent call last):
  File "nupic/nupic.vision/demo.py", line 45, in <module>
    trainingImages, trainingTags = data.getImagesAndTags(trainingDataset)
  File "/home/rob/nupic/nupic.vision/dataset_readers.py", line 44, in 
getImagesAndTags
    xmldoc = minidom.parse(filename)
  File "/usr/lib/python2.7/xml/dom/minidom.py", line 1918, in parse
    return expatbuilder.parse(file)
  File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 922, in parse
    fp = open(file, 'rb')
IOError: [Errno 2] No such file or directory: 
'DataSets/OCR/characters/cmr_hex.xml'
 

From: [email protected]
Date: Wed, 23 Mar 2016 09:40:14 -0700
Subject: Re: Help running nupic vision
To: [email protected]

PR merged. Sorry, I must've missed it. ---------Matt TaylorOS Community 
Flag-BearerNumenta

On Wed, Mar 23, 2016 at 3:13 AM, Николай Климов <[email protected]> wrote:
 There are syntax errors in file vision_testbench.py (I made a pull request, 
but for some reason it was not merged).



You should put  < minAccuracy =100.0): > (line 101) before comment. And include 
numpy library.





>Среда, 23 марта 2016, 12:33 +03:00 от robert bartley 
><[email protected]>:

>

>Hi all

>I have been trying to run demo.py in nupic vision but keep getting this error.

>

>

>Traceback (most recent call last):

>  File "nupic.vision/demo.py", line 38, in <module>

>    from vision_testbench import VisionTestBench

>  File "/home/rob/nupic/nupic.vision/vision_testbench.py", line 100

>    """

>      ^

>SyntaxError: invalid syntax

>

>

>Can anyone assist.

>

>Robert




                                          

Reply via email to