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

FileNotFoundError in Pretraining Scripts for Structure Encoder and MUV Dataset #1

Open
hebatef opened this issue Jan 28, 2025 · 0 comments

Comments

@hebatef
Copy link
Collaborator

hebatef commented Jan 28, 2025

Steps to Reproduce:

Run the following command:

   python pretrain.py --from_yaml configs/cl_pretrain/pretrain_drugbank_basal.yaml

I encountered the following error:

   "models.py", line 224, in get_str_encoder
      state_dict = torch.load(pre_trained_path, map_location=torch.device('cpu'))
   .....
   FileNotFoundError: [Errno 2] No such file or directory: '.../pretraining/str/GIN_256x4_muv.pt'

Then, I attempted to run structure_pretraining_muv.py and encountered another error:

   FileNotFoundError: [Errno 2] No such file or directory: '.../muv_filtered_torchdrug_new.csv'
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