nextgis / qgis_molusce

Modules for Land Use Change Simulations
https://github.com/nextgis/molusce
GNU General Public License v2.0
43 stars 15 forks source link

Deprecation Warning #23

Closed juda-garcia closed 6 years ago

juda-garcia commented 6 years ago

I don't understand what happen but this messages appears when I tried to do the logistic regression in the transitional potencial modelling module. The conditions that I selected were 1500 Iterations and 2 Neighbourhood:

This in the Python Warnings

warning:C:/Users/judab/.qgis2/python/plugins\molusce\moluscedialog.py:1473: DeprecationWarning: QgsProject.dirty() is deprecated
              QgsProject.instance().dirty(True)

            traceback:  File "C:/Users/judab/.qgis2/python/plugins\molusce\molusce.py", line 111, in run
                d.exec_()
              File "C:/Users/judab/.qgis2/python/plugins\molusce\moluscedialog.py", line 483, in changeMapDone
                self.applyStyle(layer, colorRamp)

And this in the Python Error Console

Traceback (most recent call last):
              File "C:/Users/judab/.qgis2/python/plugins\molusce\algorithms\models\lr\lr.py", line 272, in startTrain
                self.setTrainingData()
              File "C:/Users/judab/.qgis2/python/plugins\molusce\algorithms\models\lr\lr.py", line 235, in setTrainingData
                self.sampler.setTrainingData(state, output, shuffle=False, mode=mode, samples=samples)
              File "C:/Users/judab/.qgis2/python/plugins\molusce\algorithms\models\sampler\sampler.py", line 284, in setTrainingData
                self.data = np.zeros(samples, dtype=[('coords', float, 2), ('state', float, self.stateVecLen),('factors',  float, self.factorVectLen), ('output', float, self.outputVecLen)])
            MemoryError

Thanks for you help...