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

All of the embedding models (tbnn_dt2v_emb, fnn_emb, tfnn_emb, bnn_emb, tbnn_emb) get error TypeError: train() takes 1 positional argument but 5 were given #261

Open
littlebeanbean7 opened this issue Nov 11, 2024 · 1 comment

Comments

@littlebeanbean7
Copy link

When I follow quickstart example and run

python -u main.py -data ../data/raw/dblp/toy.dblp.v12.json -domain dblp -model tbnn_dt2v_emb

I get below error:

Loading sparse matrices from ./../data/preprocessed/dblp/toy.dblp.v12.json/teamsvecs.pkl ...
Loading indexes pickle from ./../data/preprocessed/dblp/toy.dblp.v12.json/indexes.pkl ...
It took 8.249282836914062e-05 seconds to load from the pickles.
It took 0.0004024505615234375 seconds to load the sparse matrices.
Traceback (most recent call last):
File "main.py", line 210, in
run(data_list=args.data_list,
File "main.py", line 154, in run
t2v.train(emb_setting['d'], emb_setting['w'], emb_setting['dm'], emb_setting['e'])
TypeError: train() takes 1 positional argument but 5 were given

@littlebeanbean7
Copy link
Author

All of the embedding models (tbnn_dt2v_emb, fnn_emb, tfnn_emb, bnn_emb, tbnn_emb) get the above error

@littlebeanbean7 littlebeanbean7 changed the title tbnn_dt2v_emb model get error TypeError: train() takes 1 positional argument but 5 were given All of the embedding models (tbnn_dt2v_emb, fnn_emb, tfnn_emb, bnn_emb, tbnn_emb) get error TypeError: train() takes 1 positional argument but 5 were given Nov 11, 2024
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