I have tried running deepsea-ai in a conda environment per the installation documentation, and also in a dedicated venv with a clean requirements.txt install of requirements. python Python 3.10.9. pip install deepsea-ai
deepsea-ai ecsprocess
--config 902005_vaa.ini
--clean
--upload
--cluster y5x315k
--job "Ventana-Dive-V4488-one"
--args "--agnostic-nms --iou-thres=0.5 --conf-thres=0.1 --imgsz=640"
--input /mnt/M3/mezzanine/Ventana/2023/08/4488/V4488_20230803T163130Z_h265.mp4
--exclude trashm
--dry-run
throws error
FileNotFoundError: [Errno 2] No such file or directory: '/data/database'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/duane/new-deepsea-ai/deepsea-ai/.venv/bin/deepsea-ai", line 8, in
sys.exit(cli())
File "/Users/duane/new-deepsea-ai/deepsea-ai/.venv/lib/python3.10/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/Users/duane/new-deepsea-ai/deepsea-ai/.venv/lib/python3.10/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/Users/duane/new-deepsea-ai/deepsea-ai/.venv/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/duane/new-deepsea-ai/deepsea-ai/.venv/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/duane/new-deepsea-ai/deepsea-ai/.venv/lib/python3.10/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/Users/duane/new-deepsea-ai/deepsea-ai/.venv/lib/python3.10/site-packages/deepsea_ai/main.py", line 122, in ecs_process
custom_config = init(log_prefix="dsai_ecsprocess", config=config)
File "/Users/duane/new-deepsea-ai/deepsea-ai/.venv/lib/python3.10/site-packages/deepsea_ai/main.py", line 49, in init
custom_config = cfg.Config(config)
File "/Users/duane/new-deepsea-ai/deepsea-ai/.venv/lib/python3.10/site-packages/deepsea_ai/config/config.py", line 55, in init
self.job_db_path.mkdir(parents=True, exist_ok=True)
File "/Users/duane/.pyenv/versions/3.10.9/lib/python3.10/pathlib.py", line 1179, in mkdir
self.parent.mkdir(parents=True, exist_ok=True)
File "/Users/duane/.pyenv/versions/3.10.9/lib/python3.10/pathlib.py", line 1175, in mkdir
self._accessor.mkdir(self, mode)
OSError: [Errno 30] Read-only file system: '/data'
I cannot make a /data/database directory.
What do I do to redirect the output to a different directory?