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

MOLUSCE plugin pythan memory error #48

Open G-0510 opened 2 years ago

G-0510 commented 2 years ago

hello guys, I m using Qgis 2.16 in windows 10. In using Molusce plugin i am facing problem in Validation tab the error shows is:- MemoryError Traceback (most recent call last): File "C:/Users/gaurav jaiswal/.qgis2/python/plugins\molusce\moluscedialog.py", line 648, in startValidation self.eb = EBudget(reference, simulated) File "C:/Users/gaurav jaiswal/.qgis2/python/plugins\molusce\algorithms\models\errorbudget\ebmodel.py", line 90, in init self.Sj[j] = 1.0binaryzation(S, [j]) File "C:\PROGRA2\QGIS 2.16\apps\Python27\lib\site-packages\numpy\ma\core.py", line 3947, in rmul return multiply(other, self) File "C:\PROGRA2\QGIS 2.16\apps\Python27\lib\site-packages\numpy\ma\core.py", line 966, in call result = self.f(da, db, args, **kwargs) MemoryError

Python version: 2.7.4 (default, Apr 6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)] QGIS version: 2.16.3 Nødebo, 7d00cae

I m not able to proceed further pls help me Gaurav

Liasartika commented 2 years ago

I do have the same problem,, have you find the solution? I also have Nodebo version

G-0510 commented 2 years ago

No i haven't got yet......in future if you get the solution pls let me know.

On Mon, 10 Jan, 2022, 8:04 am Liasartika, @.***> wrote:

I do have the same problem,, have you find the solution? I also have Nodebo version

— Reply to this email directly, view it on GitHub https://github.com/nextgis/molusce/issues/48#issuecomment-1008497347, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXGNJVA6QVHQHKLXVLHPHP3UVJASNANCNFSM5LPNGPDA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

avatar-007 commented 2 years ago

Maybe you don't have enough memory on drive C of your computer

Liasartika commented 2 years ago

I de extend my C drive and it has enough space I supposed but still doesn’t work. Has it work for you already? If you found the solution, please let me know On Wed, 12 Jan 2022 at 17.05 avatar-007 @.***> wrote:

Maybe you don't have enough memory on drive C of your computer

— Reply to this email directly, view it on GitHub https://github.com/nextgis/molusce/issues/48#issuecomment-1010811950, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN3VBHB4WKRDBFGHVQC5JOLUVU76XANCNFSM5LPNGPDA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

avatar-007 commented 2 years ago

I had the same problem when I had only 20GB of ram left on my COMPUTER's C drive, and it went away when I had 150GB of free ram on my computer's C drive. But I have a new problem, and I think you will have a new problem, and his(https://github.com/nextgis/molusce/issues/29#issuecomment-961581295) solution works.

Liasartika commented 2 years ago

Really? That big??? I need to allocate some space then. Ok, thank you so much for your great advice. I’ll do it accordingly.

On Wed, 12 Jan 2022 at 17.31 avatar-007 @.***> wrote:

I had the same problem when I had only 20GB of ram left on my COMPUTER's C drive, and it went away when I had 150GB of free ram on my computer's C drive. But I have a new problem, and I think you will have a new problem, and his( https://github.com/nextgis/molusce/issues/29#issuecomment-961581295) solution works.

— Reply to this email directly, view it on GitHub https://github.com/nextgis/molusce/issues/48#issuecomment-1010833906, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN3VBHGUKFDJGC4PHLUAYLTUVVC5XANCNFSM5LPNGPDA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

avatar-007 commented 2 years ago

I have a new problem Traceback (most recent call last): File "C:/Users/avatar527/.qgis2/python/plugins\molusce\moluscedialog.py", line 467, in createChangeMap self.analyst = AreaAnalyst(self.inputs["initial"], self.inputs["final"]) File "C:/Users/avatar527/.qgis2/python/plugins\molusce\algorithms\models\area_analysis\manager.py", line 59, in init if second is None: ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

Liasartika commented 2 years ago

I don’t have an issue with creating change map. Perhaps you can double check if every legend has exactly the same name. Or if it isn’t the issue, I hope you get the solution soon 🤞

On Wed, 12 Jan 2022 at 18.20 avatar-007 @.***> wrote:

I have a new problem Traceback (most recent call last): File "C:/Users/avatar527/.qgis2/python/plugins\molusce\moluscedialog.py", line 467, in createChangeMap self.analyst = AreaAnalyst(self.inputs["initial"], self.inputs["final"]) File "C:/Users/avatar527/.qgis2/python/plugins\molusce\algorithms\models\area_analysis\manager.py", line 59, in init if second is None: ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

— Reply to this email directly, view it on GitHub https://github.com/nextgis/molusce/issues/48#issuecomment-1010884193, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN3VBHG36423ZQXS5PKGI2LUVVIW7ANCNFSM5LPNGPDA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

avatar-007 commented 2 years ago

Where did you download MOLUSCE? I loaded the MOLUSCE plugin directly in QGIS2.18.Is it the problem with the different versions?

Liasartika commented 2 years ago

I worked with qgis 2.16.3 Nodebo On Thu, 13 Jan 2022 at 09.43 avatar-007 @.***> wrote:

Where did you download MOLUSCE? I loaded the MOLUSCE plugin directly in QGIS2.18.Is it the problem with the different versions?

— Reply to this email directly, view it on GitHub https://github.com/nextgis/molusce/issues/48#issuecomment-1011650228, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN3VBHAAU5ASWOBM4C6HLQDUVYU2PANCNFSM5LPNGPDA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

simgislab commented 3 days ago

Try brand new MOLUSCE 4 for QGIS 3 and let us know if the problem persists