Traceback (most recent call last):


 "backend_demo.py", line 32, in <module>

leftAdjust=True,rightAdjust=True,alph=0.1)


 "/home/hufangjian/train_ticket/chineseocr/model.py", line 193, in model

text_recs,tmp = text_detect(**config)


 "/home/hufangjian/train_ticket/chineseocr/model.py", line 42, in text_detect

MIN_NUM_PROPOSALS)


 "/home/hufangjian/train_ticket/chineseocr/detector/detectors.py", line 65, in detect

keep_inds=nms(np.hstack((text_proposals, scores)), TEXT_PROPOSALS_NMS_THRESH)##nms \u8fc7\u6ee4\u91cd\u590d\u7684box 


 "/root/anaconda3/envs/chineseocr/lib/python3.6/site-packages/numpy/core/shape_base.py", line 291, in hstack

return _nx.concatenate(arrs, 0)
ValueError: all the input arrays must have same number of dimensions


Traceback (most recent call last):

 "/home/bdc/workspace/willie/willie/bot.py", line 741, in call
exit_code = func(willie, trigger)

 "/home/bdc/workspace/willie/willie/modules/dice.py", line 180, in roll
dice = list(map(_roll_dice, dice_expressions))

 "/home/bdc/workspace/willie/willie/modules/dice.py", line 140, in _roll_dice
dice = DicePouch(dice_num, dice_type, 0)

 "/home/bdc/workspace/willie/willie/modules/dice.py", line 34, in __init__
self.roll_dice()

 "/home/bdc/workspace/willie/willie/modules/dice.py", line 41, in roll_dice
number = random.randint(1, self.type)

 "/usr/lib64/python2.7/random.py", line 241, in randint
return self.randrange(a, b+1)

 "/usr/lib64/python2.7/random.py", line 217, in randrange
raise ValueError, "empty range for randrange() (%d,%d, %d)" % (istart, istop, width)
ValueError: empty range for randrange() (1,1, 0)