jaredleekatzman / DeepSurv

DeepSurv is a deep learning approach to survival analysis.
MIT License
584 stars 173 forks source link

can't open file '/scripts/deepsurv_run.py': [Errno 2] No such file or directory #49

Open MohdSafwanAhmad opened 5 years ago

MohdSafwanAhmad commented 5 years ago

I am new to Survival Analysis and I am trying to run the experiment using the dockerfiles but it shows the following error:

Step 5/5 : CMD [ "python", "-u", "/scripts/rsf_run.py", "/shared/data/linear_survival_data.h5", "--results_dir", "/shared/results/", "--num_trees", "100"] ---> Using cache ---> a8f230af9824 Successfully built a8f230af9824 Successfully tagged experiments_rsf:latest Starting experiments_deepsurv_1 ... done Starting experiments_cph_1 ... done Starting experiments_rsf_1 ... done Attaching to experiments_deepsurv_1, experiments_cph_1, experiments_rsf_1 deepsurv_1 | python: can't open file '/scripts/deepsurv_run.py': [Errno 2] No such file or directory experiments_deepsurv_1 exited with code 2 rsf_1 | python: can't open file '/scripts/rsf_run.py': [Errno 2] No such file or directory cph_1 | python: can't open file '/scripts/cph_run.py': [Errno 2] No such file or directory experiments_rsf_1 exited with code 2 experiments_cph_1 exited with code 2

This happens with all the experiments. I downloaded the zip and my directory is \DeepSurv-master\DeepSurv-master\experiments and the scripts deepsurv_run.py, rsf_run.py and cph_run.py are in the script folder.

Would really appreciate any help. Thanks