rcnn-text-classification icon indicating copy to clipboard operation
rcnn-text-classification copied to clipboard

classes doesn't go beyond 9

Open mdeora opened this issue 9 years ago • 1 comments

If I have a training data set having more than 30 classes, "eval" gives only result values between 0 to 9.

eg. training data sdfsf,1 sfsf,2 sfs,4 sfs,3 asdas,5 sdfsf,6 sfsfsd,7 asfs,8 sffs,9 fsdfsf s,10 fsfs,11 ewer,12 abc,13

and doing "python train.py eval abc -> returns 3 (that is last character of 13)

mdeora avatar Apr 05 '17 14:04 mdeora

I tried training your example and some other dataset (based on 20 newsgroups), it seems not work. At least, your example is reproducible, but it seems bad example because completely same string with multiple labels ('sfs' as 3 and 4). So it would not work.

knok avatar Apr 13 '17 06:04 knok