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
if I follow quickstart.ipynb and run:
python main.py -data ../data/raw/dblp/toy.dblp.v12.json -domain dblp -model random
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 0.000518798828125 seconds to load from the pickles.
It took 0.002239704132080078 seconds to load the sparse matrices.
Running for (dataset, model): (dblp, random) ...
Traceback (most recent call last):
File "main.py", line 210, in
run(data_list=args.data_list,
File "main.py", line 167, in run
m_obj.run(splits, vecs_, indexes, f'{output_path}', settings['model']['baseline'][baseline_name], settings['model']['cmd'], settings['fair'], merge_skills=False)
File "/mnt/data/lingling/OpeNTF/src/mdl/ntf.py", line 138, in run
if 'test' in cmd: self.test(output, splits, indexes, vecs, settings, on_train_valid_set, per_epoch, merge_skills)
TypeError: test() takes from 6 to 8 positional arguments but 9 were given
The text was updated successfully, but these errors were encountered:
if I follow quickstart.ipynb and run:
python main.py -data ../data/raw/dblp/toy.dblp.v12.json -domain dblp -model random
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 0.000518798828125 seconds to load from the pickles.
It took 0.002239704132080078 seconds to load the sparse matrices.
Running for (dataset, model): (dblp, random) ...
Traceback (most recent call last):
File "main.py", line 210, in
run(data_list=args.data_list,
File "main.py", line 167, in run
m_obj.run(splits, vecs_, indexes, f'{output_path}', settings['model']['baseline'][baseline_name], settings['model']['cmd'], settings['fair'], merge_skills=False)
File "/mnt/data/lingling/OpeNTF/src/mdl/ntf.py", line 138, in run
if 'test' in cmd: self.test(output, splits, indexes, vecs, settings, on_train_valid_set, per_epoch, merge_skills)
TypeError: test() takes from 6 to 8 positional arguments but 9 were given
The text was updated successfully, but these errors were encountered: