-
Notifications
You must be signed in to change notification settings - Fork 801
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
panic bug #795
Comments
The problem occurs in the FM: Predict() method of model.go. During the operation, the fm.Index object will be empty, causing fm.Index.EncodeUser and related methods to call panic. |
有日志吗,我看一下是具体哪个位置 |
Is there any log? Let me check the specific location. |
@zhenghaoz, is there a fix for this issue? I'm also running into this. I've a stack trace if that helps.
|
func (t *FitClickModelTask) run(j *task.JobsAllocator) 当numFeedback 为0时,这里会返回nil, 导致没有执行后面的 func (fm *FM) Fit(trainSet, testSet *Dataset, config *FitConfig) |
问题发生在model.go的FM:Predict()方法,运行过程中会发生fm.Index对象为空的情况,导致fm.Index.EncodeUser及相关方法调用panic。
The text was updated successfully, but these errors were encountered: