pykt-toolkit icon indicating copy to clipboard operation
pykt-toolkit copied to clipboard

Error about dtransfomer prediction

Open lvXiangwei opened this issue 1 year ago • 1 comments

Thanks for your valuable work, In line https://github.com/pykt-team/pykt-toolkit/blob/6dd373c78cad755d63a5e6050d04940ef181520f/pykt/models/evaluate_model.py#L1316, DTransformer has the following bug: TypeError: predict() takes from 3 to 5 positional arguments but 6 were given

lvXiangwei avatar Apr 10 '24 08:04 lvXiangwei

Thanks for your valuable work, In line https://github.com/pykt-team/pykt-toolkit/blob/6dd373c78cad755d63a5e6050d04940ef181520f/pykt/models/evaluate_model.py#L1316, DTransformer has the following bug: TypeError: predict() takes from 3 to 5 positional arguments but 6 were given

Thank you for your feedback. Dtransformer has been tested by us, and there is no problem with the predict method.

model.predict(ccc.long(), ccr.long(), ccq.long(),True,1)

Please carefully check the parameters you pass in, this includes (KCs, response, questions(choose), whether contrastive learning,1).

lycyhrc avatar Apr 19 '24 07:04 lycyhrc