CellProfiler / CellProfiler-Analyst

Open-source software for exploring and analyzing large, high-dimensional image-derived data.
http://cellprofileranalyst.org
Other
146 stars 72 forks source link

Error loading classifier with saved model. Suggestion: change code in "classifier.py" #265

Open mag345 opened 6 years ago

mag345 commented 6 years ago

Originally posted by @jhung0 in https://github.com/CellProfiler/CellProfiler-Analyst/issues/207#issuecomment-232230229

Thank you for that suggestion. I´m new to Python, so I have very little knowledge about everything regarding that. How can I integrate that code into the file "classifier.pyc" in the installation folder of CPA 2.2.1? I decompiled and integrated the changes in code, but cannot "compile" again to run CPA. Just the python (classifier.py) file does not work, CPA won´t open.

Thank you in advance! Berni

mag345 commented 6 years ago

not quite sure whether #247 asks the same thing...

mag345 commented 6 years ago

@jhung0 , is there any way you could help me? Thank you!

Hoohm commented 6 years ago

Hello, I have the same problem.

I tried to install and run from source but I got into issues with the dbconnect not working properly. Bad syntax fo the sql query.

Any idea where this "Error loading classifier model" comes from? Also, the logging of the installed version on windows doesn't report anything. Just the same error message. Is that normal or should it output more information depending on which logger you choose?