Open Ckkxx opened 10 months ago
菜鸟一枚, KeyError: 'Transformer/encoderblock_0\MultiHeadDotProductAttention_1/query\kernel is not a file in the archive'
https://blog.csdn.net/m0_69607904/article/details/135243311?csdn_share_tail=%7B%22type%22%3A%22blog%22%2C%22rType%22%3A%22article%22%2C%22rId%22%3A%22135243311%22%2C%22source%22%3A%22m0_69607904%22%7D
@Ckkxx https://blog.csdn.net/weixin_43311451/article/details/118962451 這可以解決 還要改def load_from(self, weights, nblock): ROOT = f"Transformer/encoderblock{n_block}/"哥这里{n_block}后边还得加一个
菜鸟一枚, KeyError: 'Transformer/encoderblock_0\MultiHeadDotProductAttention_1/query\kernel is not a file in the archive'