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

Code Error #1

Closed
WatsonWangZh opened this issue Jun 30, 2021 · 7 comments
Closed

Code Error #1

WatsonWangZh opened this issue Jun 30, 2021 · 7 comments

Comments

@WatsonWangZh
Copy link

Traceback (most recent call last):
File "run.py", line 5, in
trainer = Trainer(seed=2020)
File "/home/wangzhen/program/GraduationProject/SelfKG/model/layers.py", line 315, in init
myset1 = Mydataset(token1.id_features_dict) # dataset
TypeError: init() missing 1 required positional argument: 'adj_tensor_dict'

@WatsonWangZh
Copy link
Author

@Xiao9905 xiao

@Xiao9905
Copy link
Member

Xiao9905 commented Jul 2, 2021

Thanks for your reminder, we will fix it up this weekend!

@WatsonWangZh
Copy link
Author

File "run_DWY_neighbor.py", line 7, in
trainer.train(0)
File "model/layers_DWY_neighbor.py", line 442, in train
pkl = open(join(DATA_DIR, 'DWY100K', self.args.dir, "epochs_32_64", "batch_{}".format(epoch) + ".pkl"), 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'data/DWY100K/dbp_wd/epochs_32_64/batch_0.pkl'
@Xiao9905 How to get the pickle file?

@Xiao9905
Copy link
Member

Xiao9905 commented Jul 5, 2021

@WatsonWangZh The codes are now published. Thanks for your interest in our work.

@WatsonWangZh
Copy link
Author

Thanks for your prompt reply. Great job.

@WatsonWangZh
Copy link
Author

How long does it take to run the LaBSE_SSL experiment? It seems too slow. @Xiao9905

@WatsonWangZh WatsonWangZh reopened this Jul 6, 2021
@HaoyunHong
Copy link
Collaborator

HaoyunHong commented Jul 7, 2021

@WatsonWangZh

How long does it take to run the LaBSE_SSL experiment? It seems too slow. @Xiao9905

Yes, it is slow, because LaBSE is a large model. But it is only for ablation study with only entity name information, so it's not important. We will delete the ablation study code in the repository.

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