Error running basemap_segmentation workflow - sam_inference failed
RMNT opened this issue Β· comments
In which step did you encounter the bug?
Workflow execution
Are you using a local or a remote (AKS) FarmVibes.AI cluster?
Local cluster
Bug description
I am new to using bingmaps so it might be a mistake on my part.
In the website I created a key, copied it and pasted to the BING-MAPS_API_KEY constant. I did not change anything else in the code. After running the code I get this:
π FarmVibes.AI π farm_ai/segmentation/segment_basemap π
Run name: Basemap segmentation
Run id: 4e232c4a-d514-4b34-9987-eb2647fa7b13
Run status: failed
Run duration: 00:00:22
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Task Name β Status β Start and End Time β Duration β Progress
β‘ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ©
β sam_inference βfailedβ...β...β00:00:17β ββββββββββββββββββββ 0/1 β
β basemap_download.merge βdoneβ...β...β00:00:00β ββββββββββββββββββββ 1/1 β
β basemap_download.to_sequence βdoneβ...β...β00:00:00β ββββββββββββββββββββ 1/1 β
β ingest_points.download βdoneβ...β...β00:00:01β ββββββββββββββββββββ 1/1 β
β basemap_download.basemap_download.download βdoneβ...β...β00:00:00β ββββββββββββββββββββ 25/25 β
β ingest_points.unpack βdoneβ...β...β00:00:01β ββββββββββββββββββββ 1/1 β
β basemap_download.basemap_download.list βdoneβ...β...β00:00:03β ββββββββββββββββββββ 1/1 β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Key details:
Key type: Basic / Dev/Test
Created date: 02/02/2024
Expiration date: None
Key Status: Enabled
Security Enabled: No
What may I be doing wrong?
Steps to reproduce the problem
No response
Hi, @RMNT. Thanks for raising the issue. It seems that nothing is wrong with the BingMaps steps of the workflow, but rather to the segmentation op that failed.
Please, could you provide the content of the reason
attribute of your run object?
client = get_default_vibe_client()
run = client.run(....)
print(run.reason)
Additionally, did you follow the steps of our documentation for importing the SAM ONNX model to your local cluster?
You can check the instructions in our Troubleshooting page.
We noticed the script that downloads the SAM models, trace them to ONNX, and export to FarmVibes cluster is missing from the repo (as reported in #153). Your issue might be related to this and the reason
might confirm this. If this is the case, you can expect them to be included in the next release. Thank you for your patience.
Closing this issue for now. @RMNT, feel free to reopen it if you encounter any more issues.