Open ParnianA opened 3 years ago
Hi, Thank you for your nice implementation. I get the following error when loading the pre-trained weights:
_KeyError: 'Transformer/encoderblock_0\MultiHeadDotProductAttention1/query\kernel is not a file in the archive'
Would you please help me with this?
Parnian I met the same problem. Have you solved it
It seems to be the dir separator "\" and "/" in windows and linux. Maybe try to change query
to query/
will help. In this way, your os.path
will not add a "\" after the path if you are using windows.
Is it resolved? Even I had this issue for one of the models.
It seems to be the dir separator "\" and "/" in windows and linux. Maybe try to change
query
toquery/
will help. In this way, youros.path
will not add a "\" after the path if you are using windows.
This worked for me. Attaching "/" on multiple lines, where windows will add "\\" instead.
Hi, Thank you for your nice implementation. I get the following error when loading the pre-trained weights:
_KeyError: 'Transformer/encoderblock_0\MultiHeadDotProductAttention1/query\kernel is not a file in the archive'
Would you please help me with this?
Parnian