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

Some bug appear in the model #4

Closed
demainchen opened this issue Aug 22, 2021 · 1 comment
Closed

Some bug appear in the model #4

demainchen opened this issue Aug 22, 2021 · 1 comment

Comments

@demainchen
Copy link

"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
Copy link

Dunant5 commented Aug 23, 2021

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.

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

3 participants