youqingxiaozhua / APViT

PaddlePaddle and PyTorch implementation of APViT and TransFER
Apache License 2.0
38 stars 10 forks source link

miss function #7

Closed swordLJP closed 1 year ago

swordLJP commented 1 year ago

The function 'compute_rollout_attention' in trans_fer.py is not defined. It is referenced in the function VisionTransformer.relprop(). "/APViT/Paddle/ppcls/arch/backbone/model_zoo/trans_fer.py"

youqingxiaozhua commented 1 year ago

This function is used for visualization. We do not tend to maintain the visualization codes. You may refer to their official repo (already replied in #3 ) to modify the visualization part.