DeepMatch
DeepMatch copied to clipboard
当对DSSM模型设置sample_weight会报错
Describe the bug(问题描述) 当对DSSM模型设置sample_weight会报错,其中sample_weight是按照格式,和label一样大小的一个numpy的一维数组
To Reproduce(复现步骤) 运行代码: history = model.fit(train_model_input, train_label, batch_size=256, epochs=4, verbose=1, validation_split=0.0, sample_weight = sample_weights)
Operating environment(运行环境):
- python version [3.7]
- tensorflow version [1.15.0]
- deepmatch version [0.3.1]
Additional context
对应结果:
Traceback (most recent call last):
File "dssm_qt_train_noid.py", line 93, in