Skip to content

时间重要性剪枝问题 #30

Description

@dccmr123

你好!在时间重要性剪枝的相关代码里
def weight_prune(self, weight_threshold): prune_mask = (self._max_weight < weight_threshold)
在这句代码后面我添加了
print(f"[WeightPrune] prune={prune_mask.sum().item()} / {prune_mask.numel()} | " )
本意是想查看剪掉了多少漂浮点,却发现几次剪枝都输出[WeightPrune] prune=0 / 244622 | [18/05 13:53:16]这样的,显示是没有剪掉任何点,为什么?使用的数据集是N3DV的cut_roasted_beef,即论文里展示剪枝效果所用的那个数据集

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions