Skip to content

How to solve this problem? #2

@codeman008

Description

@codeman008

I get an error when I run the code:
Traceback (most recent call last):
File "fire_smoke_demo.py", line 59, in
for idx in torch.topk(outputs, k=2).indices.squeeze(0).tolist():
AttributeError: 'tuple' object has no attribute 'indices'
can you help me ?thank you very much.

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