-
Notifications
You must be signed in to change notification settings - Fork 120
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
Setup - Unable to setup via pip on Windows machine and few other installation questions #164
Comments
Hello @csharma2309.
No. But building local clusters on Windows hosts is not supported.
In the following, I'm using Python installed with It might be the case that your local copy of After you've done that, please try installing vibe_core with
I've just followed the above steps in a brand new machine and the
In general, if you are having issues with the steps we shared, it helps a lot to share logs or screenshots or some sort of description of what exactly you tried and how it fails fails. From the description of your error, I am assuming your local |
Thanks @renatolfc for providing detailed steps. I followed these steps and I was able to install farmvibes-ai and it was accessible. I also upgraded before running these commands. I have tried many solutions through stackoverflow before posting here. None of them worked. Now other question is now when I am installing a particular env to run a notebook via micromamba, I am getting following errors.
note: This error originates from a subprocess, and is likely not a problem with pip. |
Hi. That new error is a bit more complicated. What notebook env is that? |
Hello @csharma2309, I found the root cause of the issue, and it is due to us specifying a I'll submit a patch later, but right now, to fix your environment, save the following patch to a file (for example This should fix your environment while we don't open a PR with the fix. diff --git a/notebooks/env.yaml b/notebooks/env.yaml
index 6fc0228d..c4bc145e 100644
--- a/notebooks/env.yaml
+++ b/notebooks/env.yaml
@@ -4,6 +4,7 @@ channels:
- defaults
dependencies:
- python==3.8.*
+ - cartopy~=0.21.0
- geopandas~=0.11.1
- ipython~=8.5.0
- ipywidgets~=8.0.2
@@ -19,5 +20,4 @@ dependencies:
- scikit-image~=0.20.0
- pip:
- ../src/vibe_core
- - cartopy~=0.21.0
- xarray~=2022.10.0 |
@renatolfc - thanks for the update. I will try this tomorrow and will update this thread! Much appreciate your help |
@chetan2309, any update on this end? |
This is a sync of our repo. Here's the summary of the changes: ## Added 🎉 - New workflow to perform spectral extension. The workflow runs a model to combine information from an RGB drone image with a Sentinel-2 product to generate a high-resolution (0.125m/px) image with 8 Sentinel-2 bands. - New notebook showcasing the spectral extension workflow. The user may provide their own UAV image in order to generate the image. - Two automatic segmentation workflows based on SAM ([Segment Anything Model](https://segment-anything.com/)). These will automatically segment entities in Sentinel-2 rasters (`farm_ai/segmentation/auto_segment_s2`) and BingMaps basemaps (`farm_ai/segmentation/auto_segment_basemap`) without requiring the user to explictly define a set of prompts (i.e., points and/or bounding box). - Two notebooks showcasing the automatic segmentation workflows over Sentinel-2 rasters and BingMaps basemaps. The notebooks explores several of the workflow parameters, highlighting how they affect the output segmentation masks. ## Changed ↪️ - **[💔 BREAKING CHANGE]** We created a new module `vibe_notebook` with all utility methods that are shared by the example notebooks in FarmVibes.AI. Previously these methods were organized in the `notebooks/shared_nb_lib` directory, which was imported by the notebooks using them. Because of this, most notebook environments will need to be updated. - **[💔 BREAKING CHANGE]** With the new segmentation workflows, we updated `scripts/export_sam_models.py` so the exported ONNX models can process multiple prompts in a batch. Because of this change, the segmentation workflows (both prompt-based and automatic segmentation) will not work with ONNX models exported prior to this release. Please, make sure to delete the old ONNX models in the `onnx_resources` folder in your storage, and re-run the exportation script. - We updated `scripts/export_sam_models.py` to support adding the ONNX models to remote clusters. The script now has a new `--cluster` parameter to specify the cluster type (local or remote) to which the script will export the model to. - The workflow `data_processing/clip/clip` now allows hard clip (explicitly clipping the raster to the input geometry) in addition to soft clip (which would only update the geometry metadata of the raster, without actually cropping the raster). - We improved the post request of ADMA by accessing a skip token in the response. This enhancement allows users to download response results in smaller, manageable chunks. - Both the worker and the cache services now use gRPC for internal communication, hopefully reducing latency a bit and improving reliability as well. This should fix #163. - We updated the description of workflows that download Sentinel-1, as well as the [documentation page on secrets](https://microsoft.github.io/farmvibes-ai/docfiles/markdown/SECRETS.html), to reflect the need for a Planetary Computer API key. ### Fixed ⚒️ - Fixed micromamba environment creation on Windows (see #164). - Stopped logging the azurerm provider's key when creating or updating AKS clusters. --------- Co-authored-by: Bruno Silva <[email protected]> Co-authored-by: Eduardo Rodrigues <[email protected]> Co-authored-by: Naga Bilwanth Gangarapu <[email protected]> Co-authored-by: Rafael Padilha <[email protected]> Co-authored-by: Renato Luiz de Freitas Cunha <[email protected]> Co-authored-by: Roberto de Moura Estevão Filho <[email protected]> Co-authored-by: FarmVibes Release Pipeline <[email protected]> Co-authored-by: Eduardo Rodrigues <[email protected]> Co-authored-by: Naga Bilwanth Gangarapu <[email protected]> Co-authored-by: Renato Luiz de Freitas Cunha <[email protected]> Co-authored-by: Roberto de Moura Estevão Filho <[email protected]>
Topic
FarmVibes.AI setup
Ask away!
@rafaspadilha @renatolfc - Is having a Linux based system such as Ubuntu or WSL is a hard requirement?
I have a windows 11 machine and I have been un-successful
I use Python on Windows for many projects and I have never been limited by this. Due to some security reasons it is impossible for me to get WSL on my corporate machine. So I have live with this limitation for the time being.
So, there are two scenarios:-
- In your documentation to use Cloud Shell, I was able to install it via this approach, however problem comes if I lose this cloud shell because of hibernation/termination of shell. Since the installation process install a lot of configuration files to work with
client = get_default_vibe_client("remote")
like calls, once a shell is lost you basically lose all configuation you got during installation thereby rendering and connecting with installation tricky and with workarounds.On a side note to clear some doubts:-
How would you connect to let say Jupyter server running on either types(VM or AKS) if one is unsuccessful to install required packages? Can you please help/guide how would the process looks like?
Regards,
Chetan
The text was updated successfully, but these errors were encountered: