OSError: Unable to load weights from h5 file. If you tried to load a TF 2.0 model from a PyTorch che
目录1.出问题代码2.报错信息3.报错分析4.修改后代码,问题解决1.出问题代码model=TFBertForSequenceClassification.from_pretrained("bert-base-chinese",num_labels=2,from_pt=True)2.报错信息Toenabletheminotheroperations,rebuildTensorFlowwiththe