You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
The text was updated successfully, but these errors were encountered:
All of the embedding models (tbnn_dt2v_emb, fnn_emb, tfnn_emb, bnn_emb, tbnn_emb) get the above error
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
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
The text was updated successfully, but these errors were encountered: