LeafCloud

Results 2 issues of LeafCloud

我的机器是cuda=9.0 pytorch==1.2.0 然后运行过程会报错AttributeError: 'Tensor' object has no attribute 'bool' 我觉得应该是pytorch版本的问题,cuda9.0是否能安装pytorch==1.4.0 在model.py中的 mask = (token_type_ids == title_id).long() labels = labels * mask这一段可能出现了问题,请问如何解决呢?

请问有pytorch版本的代码吗?