Comments (5)
如果truncating='post'是取序列的前部分数据,比如说前50个,那么翻转就是合法的。
from deepmatch.
我也想问这个问题,既然gen_data_set里面把train_seq反转了,那为什么gen_model_input里面对其使用pad_sequences函数进行填充时,不加上参数truncating='post'让长度>50的seq截掉后面的的数据?造成长度>50的seq全部是一样的序列
from deepmatch.
如果不翻转的话,使用原来的pad_sequences是没有问题的,翻转了就有问题了
from deepmatch.
如果不翻转的话,是可以这样写的
应该是前面[::-1]翻转的话,后面加参数是正确?所以这个地方是bug对吧--->去掉[::-1]翻转 或 加参数truncating='post'
from deepmatch.
已经修复了,感谢!
from deepmatch.
Related Issues (20)
- SDM只能支持item 一个特征吗?
- 当对DSSM模型设置sample_weight会报错
- 请问 DeepMath 如何给 item增加标题、描述等文本特征?
- TF2.0 报“TypeError: Could not build a TypeSpec for <KerasTensor”异常 HOT 1
- YoutubeDNN example run failed
- from preprocess import gen_data_set, gen_model_input HOT 2
- 官方示例YoutubeDNN无法运行 HOT 2
- in batch 负采样 HOT 3
- Question about Dynamic Routing in MIND model
- youtubednn部署报错
- sparsefeature,以传入vocabulary_path的方式做hash,报错 HOT 1
- 关于胶囊网络CapsuleLayer梯度停止更新问题
- 双塔模型在负样本negsample=0的时候,模型学到的是什么? HOT 1
- FM中仅类别特征有效,数值特征建模时会忽略?
- YoutubeDNN训练很慢, YoutubeDNN training so slow
- comirec还有LabelAwareAttention?我看论文是直接argmax HOT 4
- utils.py的inner product实现有问题
- YoutubeDNN导出item侧模型失败 HOT 1
- 跑完sdm模型,想导出用户塔用作实时召回,savemodel格式,失败,显示缺失state
- dssm模型保存报错 HOT 3
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 deepmatch.