Hi everyone !
I’m about to run HTM for the first time. I’m following the instructions given in:
but I get an error related to the model_params.
The error is as follows:
Traceback (most recent call last):
File “<pyshell#85>”, line 1, in
model = ModelFactory.create(MODEL_PARAMS)
File “C:\Python27\lib\site-packages\nupic\frameworks\opf\modelfactory.py”, line 78, in create
modelConfig[‘model’])
Exception: ModelFactory received unsupported Model type: HTMPrediction
Do you have an idea about that ?
Thanks in advance.
I do have an idea. This was a recently introduced breaking change. I have a post on that thread with instructions on how to sync your local code checkout with your NuPIC installation. Let me know if you need further help.
hi,
me too have the error ( execption: modelFactory received unsupported model type: CLA ) , and i fixed the name of moduls
modelfactory ==> model_factory
predictionmetricsmanager ==> prediction_metrics_manager
but this is the error
What file in your program did you change? There is a misconfiguration somewhere if you think you’ve changed the config and it hasn’t actually changed. You need to find the place in your code where you read in the config and make sure that file is the one you are editing.
In fact, I’ve wanted to test this example of github
and I motifier this file : C:\Users\dell\Desktop\les algorithmes\nupic.subutai-master\ensembles\model_params.py
I change “model”: “CLA” to “model”: “HTMPrediction”
If you have updated the model to "HTMPrediction" properly then it should print "HTMPrediction". If it still prints "CLA" then there is something wrong with your setup.
If it printed "HTMPrediction" then make sure you are running the source code in the same directory where the model_params is located (recommended), otherwise you have to set PYTHONPATH environment variable.
If it printed "HTMPrediction" and you ran the source in the same directory as model_params.py is located, and still you get the same error, then there must be some incompatibility with that code you are trying with your latest nupic version, this is probably what @rhyolight is getting at.