Dear xiaohu2015:
when I run visualization_attnmap_faceid.ipynb, I meet a error,which is RuntimeError: stack expects a non-empty TensorList. I trace the code and I find the code in the file ,which is attn_maps = get_net_attn_map((768, 512)) ,have a problem. And in the utils.py ,
I find hasattr(module.processor, "attn_map") is not work, which make attn_maps is empty
Dear xiaohu2015: when I run visualization_attnmap_faceid.ipynb, I meet a error,which is RuntimeError: stack expects a non-empty TensorList. I trace the code and I find the code in the file ,which is attn_maps = get_net_attn_map((768, 512)) ,have a problem. And in the utils.py , I find hasattr(module.processor, "attn_map") is not work, which make attn_maps is empty
Looking forward to your reply,Thanks