We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 args.pytorch_dump_path) File "convert_albert_tf_checkpoint_to_pytorch.py", line 34, in convert_tf_checkpoint_to_pytorch load_tf_weights_in_albert(model, config, tf_checkpoint_path) File "/data/albert_pytorch-master/model/modeling_albert_bright.py", line 88, in load_tf_weights_in_albert assert pointer.shape == array.shape File "/home/lib/python3.6/site-packages/torch/nn/modules/module.py", line 535, in getattr type(self).name, name)) AttributeError: 'Embedding' object has no attribute 'shape'
谢谢
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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
args.pytorch_dump_path)
File "convert_albert_tf_checkpoint_to_pytorch.py", line 34, in convert_tf_checkpoint_to_pytorch
load_tf_weights_in_albert(model, config, tf_checkpoint_path)
File "/data/albert_pytorch-master/model/modeling_albert_bright.py", line 88, in load_tf_weights_in_albert
assert pointer.shape == array.shape
File "/home/lib/python3.6/site-packages/torch/nn/modules/module.py", line 535, in getattr
type(self).name, name))
AttributeError: 'Embedding' object has no attribute 'shape'
谢谢
The text was updated successfully, but these errors were encountered: