Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing and model evaluation failing #298

Open
teknowaffle opened this issue Jan 13, 2025 · 0 comments
Open

Testing and model evaluation failing #298

teknowaffle opened this issue Jan 13, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@teknowaffle
Copy link

I have been having issues with generating evaluations of prospectivity maps. I updated the toolkit and the EIS Plugin. When I attempt to run any sort of process that requires any sort of evaluation function the program freezes and I have to restart it. Essentially I am unable to train or test any new models. I am able to work with previously generated models. This fails on all methods.

When I run training or testing the progress bar stops at 30%, when I run evaluation on previously generated models the computer fan revs up, but the process doesn't run and eventually forces QGIS to close.

Desktop (please complete the following information):

  • Plugin: e.g. 1.0.2
  • QGIS e.g. 3.14
  • Python: 3.10
  • OS: Windows 10
  • Toolkit 1.1.2

Progress info:
C:\Users\backup\Documents\EIS_test_new\lib\site-packages\geopandas_compat.py:112: UserWarning: The Shapely GEOS version (3.10.3-CAPI-1.16.1) is incompatible with the GEOS version PyGEOS was compiled with (3.10.4-CAPI-1.16.2). Conversions between both will be slow.
warnings.warn(
2025-01-13 09:48:37.760328: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0.
WARNING:tensorflow:From C:\Users\backup\Documents\EIS_test_new\lib\site-packages\keras\src\losses.py:2976: The name tf.losses.sparse_softmax_cross_entropy is deprecated. Please use tf.compat.v1.losses.sparse_softmax_cross_entropy instead.

ERROR 1: PROJ: proj_identify: C:\PROGRA1\QGIS331.3\share\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 3 is expected. It comes from another PROJ installation.
ERROR 1: PROJ: proj_identify: C:\PROGRA1\QGIS331.3\share\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 3 is expected. It comes from another PROJ installation.
ERROR 1: PROJ: proj_identify: C:\PROGRA1\QGIS331.3\share\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 3 is expected. It comes from another PROJ installation.
ERROR 1: PROJ: proj_identify: C:\PROGRA1\QGIS331.3\share\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 3 is expected. It comes from another PROJ installation.
ERROR 1: PROJ: proj_identify: C:\PROGRA1\QGIS331.3\share\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 3 is expected. It comes from another PROJ installation.
ERROR 1: PROJ: proj_identify: C:\PROGRA1\QGIS331.3\share\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 3 is expected. It comes from another PROJ installation.
ERROR 1: PROJ: proj_identify: C:\PROGRA1\QGIS331.3\share\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 3 is expected. It comes from another PROJ installation.
ERROR 1: PROJ: proj_identify: C:\PROGRA1\QGIS331.3\share\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 3 is expected. It comes from another PROJ installation.
ERROR 1: PROJ: proj_identify: C:\PROGRA1\QGIS331.3\share\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 3 is expected. It comes from another PROJ installation.
ERROR 1: PROJ: proj_identify: C:\PROGRA1\QGIS331.3\share\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 3 is expected. It comes from another PROJ installation.
ERROR 1: PROJ: proj_identify: C:\PROGRA1\QGIS331.3\share\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 3 is expected. It comes from another PROJ installation.
ERROR 1: PROJ: proj_identify: C:\PROGRA1\QGIS331.3\share\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 3 is expected. It comes from another PROJ installation.
ERROR 1: PROJ: proj_identify: C:\PROGRA1\QGIS331.3\share\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 3 is expected. It comes from another PROJ installation.
ERROR 1: PROJ: proj_identify: C:\PROGRA1\QGIS331.3\share\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 3 is expected. It comes from another PROJ installation.
ERROR 1: PROJ: proj_identify: C:\PROGRA1\QGIS331.3\share\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 3 is expected. It comes from another PROJ installation.
ERROR 1: PROJ: proj_identify: C:\PROGRA1\QGIS331.3\share\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 3 is expected. It comes from another PROJ installation.
ERROR 1: PROJ: proj_identify: C:\PROGRA1\QGIS331.3\share\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 3 is expected. It comes from another PROJ installation.
ERROR 1: PROJ: proj_identify: C:\PROGRA1\QGIS331.3\share\proj\proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 3 is expected. It comes from another PROJ installation.
+--------------------- Traceback (most recent call last) ---------------------+
| C:\Users\backup\Documents\EIS_test_new\lib\site-packages\eis_toolkit\cli.py |
| :2364 in logistic_regression_train_cli |
| |
| 2361 from eis_toolkit.prediction.logistic_regression import logistic_ |
| 2362 from eis_toolkit.prediction.machine_learning_general import prep |
| 2363 |
| > 2364 X, y, _, _ = prepare_data_for_ml(input_rasters, target_labels) |
| 2365 |
Progress: 30%
| 2367 |
| |
| +-------------------------------- locals ---------------------------------+ |
| | cv_folds = 5 | |
| | input_rasters = [ | |
Error: Execution cancelled.
Results: {'output_file': 'C:\Users\backup\Documents\EIS_files\Testing_issues_13_1\model_test_issues.joblib'}

@teknowaffle teknowaffle added the bug Something isn't working label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant