"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.
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.
"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.