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 choosing different values for the nu_sq parameter of the SLDAModel and I always get the same error:
RuntimeError: src/TopicModel/SLDAModel.hpp (392): wrong nuSq value (len = 1).
The problem is that, in src/TopicModel/SLDAModel.hpp, lines 378 - 394, the first if statement makes reference to args.nuSq, but the following else if statements make reference to args.mu instead. Therefore, the only valid option for the nu_sq parameter is an empty list, which is the default value.
I think this was a typo and the error would be fixed if the else if statements were else if (args.nuSq.size() == 1) and else if (args.nuSq.size() == F) instead.
The text was updated successfully, but these errors were encountered:
I'm choosing different values for the
nu_sq
parameter of theSLDAModel
and I always get the same error:RuntimeError: src/TopicModel/SLDAModel.hpp (392): wrong nuSq value (len = 1)
.The problem is that, in src/TopicModel/SLDAModel.hpp, lines 378 - 394, the first
if
statement makes reference toargs.nuSq
, but the followingelse if
statements make reference toargs.mu
instead. Therefore, the only valid option for thenu_sq
parameter is an empty list, which is the default value.I think this was a typo and the error would be fixed if the
else if
statements wereelse if (args.nuSq.size() == 1)
andelse if (args.nuSq.size() == F)
instead.The text was updated successfully, but these errors were encountered: