Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vis_cam.py not work in timesformer #2835

Open
3 tasks done
whiteswordLI opened this issue Apr 27, 2024 · 1 comment
Open
3 tasks done

vis_cam.py not work in timesformer #2835

whiteswordLI opened this issue Apr 27, 2024 · 1 comment
Assignees

Comments

@whiteswordLI
Copy link

Branch

main branch (1.x version, such as v1.0.0, or dev-1.x branch)

Prerequisite

Environment

Pytorch version:
1.9.0+cu111
CUDA Version:
11.1

Describe the bug

this is one of orders i tried.

python tools/visualizations/vis_cam.py work_dirs/timesformer/answer1/timesformer.py \ work_dirs/timesformer/answer1/best_acc_top1_epoch_972.pth data/convengesoft/data1/train/007.avi \ --target-layer-name backbone/transformer_layers/layers/0/norms/0 \ --out-filename cam/cam.gif

I have tried to change all layers'name i can image,but nothing worked.

most errors like below:
image

Reproduces the problem - code sample

No response

Reproduces the problem - command or script

No response

Reproduces the problem - error message

No response

Additional information

I want to know how to fix the code or how to fix the order to get the answer
plz help me
/cry/cry

@whiteswordLI
Copy link
Author

and sometimes the error just like below:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants