YOUNGLBIN
YOUNGLBIN
@weihaox Thank you very much for your reply. Following your suggestion, I referred to [issue #5](https://github.com/weihaox/UMBRAE/issues/5#issuecomment-2325050270) and installed the correct package versions. I then evaluated the released checkpoint, and the...
OK,感谢回答!还有一个问题想请教一下。我看到训练时(var.py的forward函数)送入transformer的内容是所有尺度token_map拼接的结果,然后加上因果掩码机制预测每个尺度token_map对应codebook的每个元素的概率,这样做确实在预测某个尺度token_map对应codebook元素的概率时综合了前多个尺度的信息进行预测。但是在down_sample.py使用时(var.py的autoregressive_infer_cfg函数),送入transformer的内容只有当前尺度的token_map,以预测当前尺度token_map对应codebook每个元素的概率,似乎就没有综合前多个尺度的token_map的信息了。这是一个我比较疑惑的地方,也不知道我这样理解是否正确
之前确实没有了解过kv cache这个机制,十分感谢解答!