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 to solve this problem? #2

Open
codeman008 opened this issue Apr 14, 2020 · 2 comments
Open

How to solve this problem? #2

codeman008 opened this issue Apr 14, 2020 · 2 comments

Comments

@codeman008
Copy link

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.

@codeman008
Copy link
Author

sorry, i solve it ! and i want to know how to quantitative training model?
thank you so much

@caoql98
Copy link

caoql98 commented May 15, 2021

I meet the same problem, could you tell me how to solve it?

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