# Error reading input dataset while running docker container

**URL:** <https://www.tira.io/t/error-reading-input-dataset-while-running-docker-container/1936>\
**Category:** PAN\
**Created:** [June 10, 2023, 5:48pm UTC](https://www.tira.io/t/error-reading-input-dataset-while-running-docker-container/1936 "2023-06-10T17:48:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ucsahin](https://www.tira.io/letter_avatar_proxy/v4/letter/u/7bcc69/32.png) [@ucsahin](https://www.tira.io/u/ucsahin)\
**Post date:** [June 10, 2023, 5:48pm UTC](https://www.tira.io/t/error-reading-input-dataset-while-running-docker-container/1936/1 "2023-06-10T17:48:56Z")

</div>

Hi all,

I successfully pushed my docker image to the Trigger Detection shared task. When I try to run the container on the validation set as the input dataset, I am getting the following software output log: “Error: Invalid value for “-i” / “–input-dataset-dir”: Directory “training-datasets/pan23-trigger-detection/pan23-trigger-detection-validation-20230210-training/” does not exist.” Do you think the problem is on my part or yours? Thanks for your answers.

Edit: This is how I run the code: sh -c “cd /hierarchical;ls; python3.10 main\_eval\_model.py --input-dataset-dir $inputDataset --output-dir $outputDir”

---

<div class="post-metadata">

**Author:** ![maik\_froebe](https://www.tira.io/user_avatar/www.tira.io/maik_froebe/32/5_2.png) [@maik\_froebe](https://www.tira.io/u/maik_froebe)\
**Post date:** [June 10, 2023, 6:34pm UTC](https://www.tira.io/t/error-reading-input-dataset-while-running-docker-container/1936/2 "2023-06-10T18:34:49Z")

</div>

Dear @ucsahin,

Thanks for reaching out!  
TIRA currently injects currently `$inputDataset` and `$outputDir` as relative paths.  
For that reason, they point to invalid locations at the point when you switch the directory via `cd /hierarchical`.

We already have an issue to switch `$inputDataset` and `$outputDir` to absolute paths, but given the close deadline, it might be faster to adopt the software, i.e., that your command becomes `python3.10 /hierarchical/main_eval_model.py --input-dataset-dir $inputDataset --output-dir $outputDir`.

I will reach out to you via a direct message to resolve the problem.

Best regards,

Maik
