ServiceNow / picard

PICARD - Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Models. PICARD is a ServiceNow Research project that was started at Element AI.
https://arxiv.org/abs/2109.05093
Apache License 2.0
341 stars 122 forks source link

Docker `make eval` error 193 #134

Closed richardr1126 closed 1 year ago

richardr1126 commented 1 year ago

I am on Windows 11 with Docker running using the w64devkit to run make eval. I did change the eval/config.json file to have my model instead of the default model, but that was all I changed.

If the problem is with the w64devkit, how am I supposed to run make eval on Windows.

make eval output from w64devkit: ... ... 0b1f870c07da: Pull complete 7cd68dad4ac6: Pull complete Digest: sha256:0d9abe342afdaa79d0dd3e0b476ef0b86312a0b8400e8bbd189982b91d68beab Status: Downloaded newer image for tscholak/text-to-sql-eval:6a252386bed6d4233f0f13f4562d8ae8608e7445 docker.io/tscholak/text-to-sql-eval:6a252386bed6d4233f0f13f4562d8ae8608e7445 mkdir -p -m 777 eval mkdir -p -m 777 transformers_cache mkdir -p -m 777 wandb docker run \ -it \ --rm \ --user 13011:13011 \ --mount type=bind,source=C:/Users/Richard Roberson/Documents/vscode/picard/eval,target=/eval \ --mount type=bind,source=C:/Users/Richard Roberson/Documents/vscode/picard/transformers_cache,target=/transformers_cache \ --mount type=bind,source=C:/Users/Richard Roberson/Documents/vscode/picard/configs,target=/app/configs \ --mount type=bind,source=C:/Users/Richard Roberson/Documents/vscode/picard/wandb,target=/app/wandb \ tscholak/text-to-sql-eval:6a252386bed6d4233f0f13f4562d8ae8608e7445 \ /bin/bash -c "python seq2seq/run_seq2seq.py configs/eval.json" process_begin: CreateProcess(C:\Users\Richard, C:/Users/Richard Roberson/Downloads/w64devkit-fortran-1.19.0/w64devkit/bin/sh.exe -c "docker run \ -it \ --rm \ --user 13011:13011 \ --mount type=bind,source=C:/Users/Richard Roberson/Documents/vscode/picard/eval,target=/eval \ --mount type=bind,source=C:/Users/Richard Roberson/Documents/vscode/picard/transformers_cache,target=/transformers_cache \ --mount type=bind,source=C:/Users/Richard Roberson/Documents/vscode/picard/configs,target=/app/configs \ --mount type=bind,source=C:/Users/Richard Roberson/Documents/vscode/picard/wandb,target=/app/wandb \ tscholak/text-to-sql-eval:6a252386bed6d4233f0f13f4562d8ae8608e7445 \ /bin/bash -c \"python seq2seq/run_seq2seq.py configs/eval.json\"", ...) failed. make (e=193): Error 193 **make: * [Makefile:142: eval] Error 193