Excuse me, I met this problem running train.py.
Could you plz tell me if I did anything wrong?
I really appreciate your reply :)
File "../aspect_category_model/bert_capsnet.py", line 65, in forward
sentence_mask = segment_mask & (1 - bert_segment).byte()
RuntimeError: result type Byte can't be cast to the desired output type Bool