shuohangwang / SeqMatchSeq

284 stars 81 forks source link

docker run error #12

Open nadiiach opened 6 years ago

nadiiach commented 6 years ago

Hi, any idea why this error occurs

(py3) user@ilcomp37:~/testSeqMatchSeq/SeqMatchSeq$ docker pull shuohang/seqmatchseq:1.0 1.0: Pulling from shuohang/seqmatchseq Digest: sha... Status: Image is up to date for shuohang/seqmatchseq:1.0 (py3) user@ilcomp37:~/testSeqMatchSeq/SeqMatchSeq$ docker run -it -v /mnt/ilcompfad1/user/user/testSeqMatchSeq/SeqMatchSeq:/opt --rm -w /opt shuohang/seqmatchseq:1.0 /bin/bash -c "sh preprocess.sh snli" --2018-08-17 20:01:19-- http://nlp.stanford.edu/projects/snli/snli_1.0.zip Resolving nlp.stanford.edu (nlp.stanford.edu)... 171.64.67.140 Connecting to nlp.stanford.edu (nlp.stanford.edu)|171.64.67.140|:80... connected. HTTP request sent, awaiting response... 302 Found Location: https://nlp.stanford.edu/projects/snli/snli_1.0.zip [following] --2018-08-17 20:01:19-- https://nlp.stanford.edu/projects/snli/snli_1.0.zip Connecting to nlp.stanford.edu (nlp.stanford.edu)|171.64.67.140|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 94550081 (90M) [application/zip] data/snli: Permission denieddata/snli/snli_1.0.zip: No such file or directory

Cannot write to 'data/snli/snli_1.0.zip' (Success). unzip: cannot find or open data/snli/snli_1.0.zip, data/snli/snli_1.0.zip.zip or data/snli/snli_1.0.zip.ZIP. mkdir: cannot create directory 'data/snli/sequence': No such file or directory python: can't open file 'preprocess.py': [Errno 2] No such file or directory (py3) user@ilcomp37:~/testSeqMatchSeq/SeqMatchSeq$ ls data main main.py models nn preprocess.sh README.md requirements.txt trainedmodel util wikiqa

shuohangwang commented 6 years ago

Thank you for the interest in this work!

Does the folder "/mnt/ilcompfad1/user/user/testSeqMatchSeq/SeqMatchSeq" allow to write and read?

Thanks, Shuohang

nadiiach commented 6 years ago

The folder has the following permissions drwxr-xr-x

shuohangwang commented 6 years ago

Could you try to set it writable for all users? It seems the file is not saved successfully.

Thanks, Shuohang