Closed Neurobiologist closed 4 years ago
After much troubleshooting, I now receive this error when creating env:
ERROR: Could not find a version that satisfies the requirement get==0.0.39 (from versions: none) ERROR: No matching distribution found for get==0.0.39
Pip subprocess error: Could not find a version that satisfies the requirement post==0.0.26
ERROR: Could not find a version that satisfies the requirement post (from versions: none) ERROR: No matching distribution found for post
Packages not available on PyPI Changed pip version in env requirements
Removed all problematic requirements. (Likely generated using pip freeze.) Kept pip version in reqs because changing it caused more errors.
Fixed path errors in source code.
Restored environment.yml and requirements.txt. Re-create conda env. Update: Errors still exist. See below.
Pip subprocess error: Could not find a version that satisfies the requirement get==0.0.39
Restoring modified env and reqs
Fixed issues with argparse and test.sh script
THCudaCheck FAIL file=torch/csrc/cuda/Module.cpp line=32 error=10 : invalid device ordinal Traceback (most recent call last): File "test.py", line 144, in
args_ = parser.parse_args() File "/projectnb2/ece601/kaggle-pulmonary-embolism/meganmp/PENet/args/base_arg_parser.py", line 115, in parse_args torch.cuda.set_device(args.gpu_ids[0]) File "/usr3/graduate/meganmp/.conda/envs/ctpe/lib/python3.6/site-packages/torch/cuda/init.py", line 262, in set_device torch._C._cuda_setDevice(device) RuntimeError: cuda runtime error (10) : invalid device ordinal at torch/csrc/cuda/Module.cpp:32
Fixed GPU issue. test.sh --gpu_ids 0
File "test.py", line 145, in
test(args_) File "test.py", line 29, in test data_loader = CTDataLoader(args, phase=args.phase, is_training=False) File "/projectnb2/ece601/kaggle-pulmonary-embolism/meganmp/PENet/data_loader/ct_data_loader.py", line 16, in init dataset = dataset_fn(args, phase, is_training) File "/projectnb2/ece601/kaggle-pulmonary-embolism/meganmp/PENet/datasets/ct_pe_dataset_3d.py", line 47, in init with open(args.pkl_path, 'rb') as pkl_file: FileNotFoundError: [Errno 2] No such file or directory: '/projectnb/ece601/kaggle-pulmonary-embolism/meganmp/PENet/data/series_list.pkl'
[Troubleshooting] This pkl file is not being generated anywhere.
Emailed the corresponding author of the paper to request access to the pkl files. [Pending response] Update 10/15: Corresponding author responded and cc'd someone who should be able to help. Update 10/16: Ongoing correspondence to resolve issue.
Ongoing correspondence to resolve problem. Raising separate issue.
Environment set up successfully. Closing issue #6.
Please install Anaconda in order to create a Python environment.
git clone git@github.com:marshuang80/PENet.git
).conda env create -f environment.yml
.source activate ctpe
.