yueyu1030 / SumGNN

[Bioinformatics 2021] This is the repo for the paper `SumGNN: Multi-typed Drug Interaction Prediction via Efficient Knowledge Graph Summarization'.
https://academic.oup.com/bioinformatics/advance-article/doi/10.1093/bioinformatics/btab207/6189090
82 stars 20 forks source link

Some bug appear in the model #4

Closed demainchen closed 3 years ago

demainchen commented 3 years ago

"Traceback (most recent call last): File "train.py", line 230, in main(params) File "train.py", line 31, in main train = SubgraphDataset(params.db_path, 'train_pos', 'train_neg', params.file_paths, File "/home/aita/4444/chenwenqi/model/SUMGNN/SumGNN-master/subgraph_extraction/datasets.py", line 71, in init self.db_neg = self.main_env.open_db(db_name_neg.encode()) lmdb.ReadonlyError: mdb_dbi_open: Permission denied" When i tried to run the model,it told me the above error. But yesterday when i first time run the model it is smoothly successful,the second time i run i meet the bug. I have set up the running environment in accordance with the requirement.txt.

Dunant5 commented 3 years ago

Delete the 'experiments' folder and the folder in the path '\data\drugbank\subgraphs_en_True_neg_0_hop_3', you will find it work successfully. It might be caused by duplicated name.