albert_pytorch
albert_pytorch copied to clipboard
将brightmart中预训练的TensorFlow模型转换为Pytorch模型报如下错误,'Embedding' object has no attribute 'shape'
INFO:model.modeling_albert_bright:Initialize PyTorch weight ['bert', 'embeddings', 'position_embeddings']
INFO:model.modeling_albert_bright:Skipping bert/embeddings/position_embeddings/lamb_m
Traceback (most recent call last):
File "convert_albert_tf_checkpoint_to_pytorch.py", line 59, in
谢谢