Replies: 1 comment
-
yes you are right, that was my mistake thank you! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, Phil
I'm currently exploring your code and have a question regarding the implementation of
is_eos_codes
. Specifically, I'm curious about the rationale behind using theshift
operation onis_eos_codes
here.From my understanding, the purpose of the shift operation is to feed the
eos_token_id
into thedecode_from_codes_to_faces
for processing. However, I am somewhat confused about the potential problems this might introduce. Given that theeos_token_id
is 16384, and the length of the codebooks is also 16384, this might lead to an indexing issue during the subsequent execution ofautoencoder.decode_from_codes_to_faces
.Specifically, when performing the
gather
operation here, it might be impossible to find an element at index 16384.Could you please clarify if my understanding is correct, or if there's something I'm missing here? Any insights or explanations on this would be greatly appreciated.
Thank you for your time and assistance.
Best regards,
Xueqi
Beta Was this translation helpful? Give feedback.
All reactions