midasklr/FireSmokeDetectionByEfficientNet

How to solve this problem?

Opened this issue · 2 comments

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.

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

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