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
I'm trying to seed a topic model, but apparrently loading a seed matrix requires the function get_seed_matrix_from_file that isn't defined or imported anywhere in trainer.py.
Traceback (most recent call last):
File "tmnt/bin/select_model.py", line 26, in <module>
model_select_bow_vae(args)
File "/home/jack/anaconda3/envs/TMNT/lib/python3.7/site-packages/tmnt/selector.py", line 157, in model_select_bow_vae
trainer = BowVAETrainer.from_arguments(c_args, val_each_epoch = (not (c_args.searcher == 'random')))
File "/home/jack/anaconda3/envs/TMNT/lib/python3.7/site-packages/tmnt/trainer.py", line 261, in from_arguments
use_gpu=c_args.use_gpu, n_covars=n_covars, val_each_epoch=val_each_epoch)
File "/home/jack/anaconda3/envs/TMNT/lib/python3.7/site-packages/tmnt/trainer.py", line 221, in __init__
self.seed_matrix = get_seed_matrix_from_file(topic_seed_file, vocabulary, ctx)
NameError: name 'get_seed_matrix_from_file' is not defined
The text was updated successfully, but these errors were encountered:
I'm trying to seed a topic model, but apparrently loading a seed matrix requires the function
get_seed_matrix_from_file
that isn't defined or imported anywhere intrainer.py
.The text was updated successfully, but these errors were encountered: