Error with weed_detection workflow. Are there requirements for nput raster and boundary shapefile?
exrobotdad opened this issue · comments
Hi all I'm trying to run the weed detection workflow via the sample notebook, but I keep getting the same error. I've tried different rasters and shapefiles from different sources and it seems to always fail with the same error. I have checked the files gdalinfo and ogrinfo and they look fine. An example can be found here.
id: 32cadf06-6e8b-451e-ad6e-e707f08ce0b9)
Traceback (most recent call last):
File "/opt/conda/lib/python3.8/site-packages/vibe_server/workflow/runner/runner.py", line 306, in run
output = await self._run_graph(self.io_mapper.map_input(input_items), run_id)
File "/opt/conda/lib/python3.8/site-packages/vibe_server/workflow/runner/runner.py", line 300, in _run_graph
return await output
File "/opt/conda/lib/python3.8/site-packages/vibe_server/workflow/runner/runner.py", line 195, in _run_graph_impl
await self._run_ops(ops, run_id)
File "/opt/conda/lib/python3.8/site-packages/vibe_server/workflow/runner/remote_runner.py", line 227, in _run_ops
await super()._run_ops(ops, run_id)
File "/opt/conda/lib/python3.8/site-packages/vibe_server/workflow/runner/runner.py", line 217, in _run_ops
await self._monitor_futures(tasks, run_id, op_parallelism)
File "/opt/conda/lib/python3.8/site-packages/vibe_server/workflow/runner/runner.py", line 244, in _monitor_futures
result = await task
File "/opt/conda/lib/python3.8/site-packages/vibe_server/workflow/runner/runner.py", line 281, in _submit_op
return await parallelism.run(input, run_id)
File "/opt/conda/lib/python3.8/site-packages/vibe_server/workflow/runner/runner.py", line 155, in run
results = await asyncio.gather(*[sub_run(args) for args in enumerate(inputs)])
File "/opt/conda/lib/python3.8/site-packages/vibe_server/workflow/runner/runner.py", line 133, in sub_run
ret = await self.run_task(self.op, input, run_id, idx)
File "/opt/conda/lib/python3.8/site-packages/vibe_server/workflow/runner/remote_runner.py", line 218, in _run_op_impl
return await self._build_and_process_request(op, input, run_id, subtask_idx)
File "/opt/conda/lib/python3.8/site-packages/vibe_server/workflow/runner/remote_runner.py", line 199, in _build_and_process_request
return self._process_reply(request, reply)
File "/opt/conda/lib/python3.8/site-packages/vibe_server/workflow/runner/remote_runner.py", line 154, in _process_reply
self._handle_failure(cast(ExecuteRequestMessage, request), reply)
File "/opt/conda/lib/python3.8/site-packages/vibe_server/workflow/runner/remote_runner.py", line 136, in _handle_failure
raise RuntimeError(
RuntimeError: Failed to run op weed_detection in workflow run id 32cadf06-6e8b-451e-ad6e-e707f08ce0b9 for input with message id 00-32cadf066e8b451ead6ee707f08ce0b9-e452113881f93fee-01. Error description: <class 'RuntimeError'>: ValueError('No valid geometry objects found for rasterize')
ValueError: No valid geometry objects found for rasterize
.", "scope": "vibe_server.workflow.runner.runner.RemoteWorkflowRunner", "time": "2024-01-04 21:36:48,659", "type": "log", "ver": "dev"}