mirror of
https://github.com/deepseek-ai/DeepSeek-VL.git
synced 2026-11-05 00:47:24 +00:00
[GH-ISSUE #65] self.hd_alpha_downsamples = nn.Parameter(torch.zeros(1)) #50
Labels
No labels
enhancement
environment
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepSeek-VL#50
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MicroPhion on GitHub (Jan 31, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-VL/issues/65
上面的代码是sam.py文件中的一段,看上面的代码,这里设置self.hd_alpha_downsamples一直为0,计算first_global_feature的作用是什么,这里其实不是一直都是0,在外部会对这个变量进行修改。
@MicroPhion commented on GitHub (Jan 31, 2025):
具体外面在什么情况下会修改这个变量。