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

No such file or directory: '../../bionoi_output/residue_type/control/fold_1' #5

Open
mainguyenanhvu opened this issue Apr 24, 2023 · 0 comments

Comments

@mainguyenanhvu
Copy link

When I run python homology_reduced_cnn_cv_resnet18.py -op control_vs_nucleotide -root_dir ../../bionoi_output/residue_type/ -batch_size 32 -result_file_suffix 1st after finishing running Bionoi by executing /bionoi/img_gen.sh to transform .mol2 files to images, it threw an error:

Traceback (most recent call last):
  File "homology_reduced_cnn_cv_resnet18.py", line 766, in <module>
    num_workers=4)
  File "homology_reduced_cnn_cv_resnet18.py", line 464, in gen_loaders
    mean, std = dataset_statistics(root_dir, op)
  File "homology_reduced_cnn_cv_resnet18.py", line 486, in dataset_statistics
    dataset = BionoiDatasetCV(op=op, root_dir=data_dir, folds=[1,2,3,4,5], transform=transform)
  File "homology_reduced_cnn_cv_resnet18.py", line 376, in __init__
    self.list_of_files_list.append([os.path.join(folder_dir, name) for name in os.listdir(folder_dir) if os.path.isfile(os.path.join(folder_dir, name))])
FileNotFoundError: [Errno 2] No such file or directory: '../../bionoi_output/residue_type/control/fold_1'

Please help me to solve it.

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

1 participant