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

Unable to run the irrigation_classification notebook #156

Closed
ZoloKiala opened this issue Apr 2, 2024 · 4 comments
Closed

Unable to run the irrigation_classification notebook #156

ZoloKiala opened this issue Apr 2, 2024 · 4 comments
Assignees
Labels
bug Something isn't working local cluster Issues encountered in local cluster notebooks Issues encountered while running the notebooks

Comments

@ZoloKiala
Copy link

ZoloKiala commented Apr 2, 2024

In which step did you encounter the bug?

Notebook execution

Are you using a local or a remote (AKS) FarmVibes.AI cluster?

Local cluster

Bug description

I'm trying to run the Irrigation Classification Notebook, but I'm getting the following error:

image

When I run " run.reason", the log file looks as follows:
"RuntimeError: Failed to run op stack_landsat_bands in workflow run id cb40bb24-ebf0-4f82-96af-c87fa9df479c for input with message id 00-cb40bb24ebf04f8296afc87fa9df479c-7f94920eace13cef-01. Error description: <class 'RuntimeError'>: self._exception\npebble.common.ProcessExpired: Abnormal termination\n."

I also tried to change the buffer size to download a smaller image, but I'm getting the same error.

Can you also advise on how to customise the workflow for my study area ? I get see that the model was calibrated using training samples collected in a field in Nebraska. How do I use my own model ?

@ZoloKiala ZoloKiala added the bug Something isn't working label Apr 2, 2024
@github-actions github-actions bot added triage Issues still not triaged by team local cluster Issues encountered in local cluster notebooks Issues encountered while running the notebooks labels Apr 2, 2024
@edrodrigues-ag
Copy link
Contributor

Hi @ZoloKiala , it looks like you have run out-of-memory. If you are running this in a VM, you are able to see OOM messages with dmesg (you may need to run this as root). This specific model is a simple logistic regression with parameters you can adjust (please see the parameters in the https://microsoft.github.io/farmvibes-ai/docfiles/markdown/workflow_yaml/farm_ai/water/irrigation_classification.html ). If you want more sophisticated models, you can express them as Onnx files (see an example as in https://github.com/microsoft/farmvibes-ai/blob/main/notebooks/crop_cycles/crop_cycles.ipynb). Please let us know if you have any further question.

@ZoloKiala
Copy link
Author

@edrodrigues-ag Thanks for your prompt reply. I'm using WSL. My computer has 10 processing cores (I think it's good enough). Should I move to a VM ?

I will try to more sophisticated models as suggested.

@edrodrigues-ag
Copy link
Contributor

WSL should be fine. Please check the memory amount allocated to WSL: free -h. 32 GB is recommended.

@rafaspadilha rafaspadilha removed the triage Issues still not triaged by team label Apr 4, 2024
@ZoloKiala
Copy link
Author

I increased the memory amount allocated to WSL. It's working now. Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working local cluster Issues encountered in local cluster notebooks Issues encountered while running the notebooks
Projects
None yet
Development

No branches or pull requests

3 participants