SunshineBot

Results 3 comments of SunshineBot

@ndvbd hi, have you got the way to do quantization for tensor2tensor models?

Did you use it in CLI mode? You can try MosesTruecaser in python. I've got the same problem and solve it in this way.

你应该是用了新版本的pytorch,对类型和操作加强了限制,```masked_fill_```这个操作已经不支持```uint8```类型的变量了,只支持```bool```型变量。你可以回退旧版本的pytorch,或者修改变量类型(直接改原变量类型,或者加类型转换),我之前遇到过这个问题,修改变量类型后就可以了。详细的信息你可以看看pytorch的文档。