Hi zhuyun,
Please help me check this problem:
|
idf = np.array([int(t) for t in cols[2].split(',')]) |
I think when 'with_idf=True', this line should be:
if len(cols) < 3:
idf = np.ones(len(q))
else:
idf = np.array([int(t) for t in cols[2].split(',')])
all right?
Thanks for you attention.
Hi zhuyun,
Please help me check this problem:
K-NRM/knrm/data/generator.py
Line 93 in fa5d60c
I think when 'with_idf=True', this line should be:
if len(cols) < 3:
idf = np.ones(len(q))
else:
idf = np.array([int(t) for t in cols[2].split(',')])
all right?
Thanks for you attention.