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

How should I assign a value to the "targets" when I draw the heatmap of yolov8-pose? #492

Open
Xavier-W opened this issue Mar 15, 2024 · 1 comment

Comments

@Xavier-W
Copy link

image

I don't think "targets=None" is right. in the "base_cam.py",

if targets is None:
    target_categories = np.argmax(outputs.cpu().data.numpy(), axis=-2)
    targets = [ClassifierOutputTarget(
        category) for category in target_categories]

obviously, "pose" output should not use "ClassifierOutputTarget"

@ninadchobe
Copy link

Can you assist me in determining target_layers for yolov7 ?

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