Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker run error #12

Open
nadiiach opened this issue Aug 17, 2018 · 3 comments
Open

docker run error #12

nadiiach opened this issue Aug 17, 2018 · 3 comments

Comments

@nadiiach
Copy link

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
Copy link
Owner

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
Copy link
Author

The folder has the following permissions drwxr-xr-x

@shuohangwang
Copy link
Owner

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

Thanks,
Shuohang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants