MNIST test problem

Hi,
I am working now on image_test at nupic.research/projects for MNIST classification.
By running experiment:
python experiment.py

I have got the following error:
ERR: Matching Python module for ImageSensor not found. [/home/binh/nupic/nupic.core/src/nupic/engine/RegionImplFactory.cpp line 431]

Could you pls tell me, where can I import the module ImageSensor?

Best thanks, Binh

NuPIC is not tuned to image processing today. We moved all the image-related code into another repository called nupic.vision. You can find ImageSensor there:

https://github.com/numenta/nupic.vision/blob/master/nupic/vision/regions/ImageSensor.py#L62

Best thanks

Gesendet mit der 1&1 Mail App

Am 01.08.16 um 16:37 schrieb Matt Taylor

I have the same problem,it says "RuntimeError: Matching Python module for ImageSensor not found."
Is the code ā€œfrom nupic.vision import ImageSensorā€ correct?

It should be ā€œfrom nupic.vision.regions.ImageSensor import ImageSensorā€

We are not actively maintaining nupic.vision because we are not working on any vision problems today. So YMMV there.

Feel free to submit PRs or bug reports to nupic.vision. Iā€™d like to get this working again in 2017 as I think it will be a useful sensorimotor test bed.

Iā€™m using the code written by my friend and it works quite well on his computer.The code is for image classification.
The console shows
ā€˜net.addRegion(ā€œsensorā€, ā€œpy.ImageSensorā€,json.dumps(DEFAULT_IMAGESENSOR_PARAMS))ā€™
has some problem.How can I fix this?

Iā€™ve tried but it didnā€™t work.Maybe itā€™s a version problem.The code used to work very well based on a former version 0.1.1. dev0. Iā€™m using the latest version.

I just pulled the latest changes from nupic.vision.
The only changes I needed to do was change ā€œmaxBoostā€ to ā€œboostStrengthā€ in run_mnist_experiment.py and remove line 166 sensor.setParameter("explorer",yaml.dump(["Flash"]))
After that it runs for me with the head nupic code from yesterday.

1 Like