Open
Conversation
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
我在调用FastVGGT时发现两个问题
Attention图像尺寸问题
FastVGGT似乎不是根据实际输入图像尺寸动态计算的,patch_width 和 patch_height 被设置为固定的默认值(37,28)。当输入图像尺寸变化时,会导致token数量不匹配。
chunk_size缺少非负性定义
在token_merge_bipartite2d函数中,chunk_size可能为0,导致fast_similarity_chunks函数中的range()调用失败。建议修改merge.py文件,确保chunk_size至少为1。