Comments (4)
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
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.
from gorse.
有日志吗,我看一下是具体哪个位置
from gorse.
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Is there any log? Let me check the specific location.
from gorse.
@zhenghaoz, is there a fix for this issue? I'm also running into this.
I've a stack trace if that helps.
{"level":"info","ts":1708892182.2309608,"msg":"ranking recommendation","n_working_users":2,"n_jobs":3,"cache_size":100}
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x60 pc=0x104bb8a68]
goroutine 748 [running]:
github.com/zhenghaoz/gorse/model/click.(*FM).Predict(0x1400019f5f0, {0x14000f87da0?, 0x140000dcff0?}, {0x140000dcff0, 0x24}, {0x0, 0x0, 0x104441b80?}, {0x14000268280, 0xf, ...})
/home/runner/work/gorse/gorse/model/click/model.go:204 +0x48
github.com/zhenghaoz/gorse/worker.(*Worker).replacement(0x14000578420, 0x14001128a68?, 0x140011295d8, {0x1400166e790, 0x2, 0x0?}, 0x14000f972a0)
/home/runner/work/gorse/gorse/worker/worker.go:1236 +0x6a4
github.com/zhenghaoz/gorse/worker.(*Worker).Recommend.func2(0x1?, 0x1)
/home/runner/work/gorse/gorse/worker/worker.go:778 +0x2e24
github.com/zhenghaoz/gorse/base/parallel.Parallel.func2(0x0?)
/home/runner/work/gorse/gorse/base/parallel/parallel.go:67 +0x9c
created by github.com/zhenghaoz/gorse/base/parallel.Parallel
/home/runner/work/gorse/gorse/base/parallel/parallel.go:58 +0x130
from gorse.
Related Issues (20)
- [BUG]: Latest sort skips real latest item HOT 1
- Understanding Tag-Based Anomalies in Recommendation Systems
- Item可以对特定User进行隐藏吗
- exclude read posts from the recommendations
- BPR gradient question
- 0.5版本 work 启动加线程参数会down机
- How to add new features / columns to the feedback and item table s?
- Help wanted
- 请问Dashboard的源码方便提供下么? HOT 3
- Modify the UI interface's text
- [/api/popular]怎么提升热度 HOT 3
- OOM command not allowed when used memory > 'maxmemory'. HOT 1
- unknown method PushTaskInfo
- model层 用户只有标签起作用,如果加入针对用户的一些行为数据和拥有的数据做支撑,就比较闭环了 HOT 2
- 启动配置地址请求报错404 HOT 4
- https://gitrec.gorse.io/ can't access HOT 1
- 获取推荐数据和新增用户会报错WRONGPASS invalid username-password pair or user is disabled HOT 2
- Initialize error while using gorse-in-one image HOT 6
- TS调用getItemNeighbors返回的类型有误 HOT 1
- Support the merge of redis+cluster and hope to release the version HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gorse.