You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RE-DETR:
Traceback (most recent call last):
File "tools/train.py", line 209, in
main()
File "tools/train.py", line 205, in main
run(FLAGS, cfg)
File "tools/train.py", line 158, in run
trainer.train(FLAGS.eval)
File "/home/moon/PaddleDetection/ppdet/engine/trainer.py", line 639, in train
self._eval_with_loader(self._eval_loader)
File "/home/moon/PaddleDetection/ppdet/engine/trainer.py", line 676, in _eval_with_loader
metric.update(data, outs)
File "/home/moon/PaddleDetection/ppdet/metrics/metrics.py", line 103, in update
for k, v in outputs.items():
AttributeError: 'Tensor' object has no attribute 'items'
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
RE-DETR:
Traceback (most recent call last):
File "tools/train.py", line 209, in
main()
File "tools/train.py", line 205, in main
run(FLAGS, cfg)
File "tools/train.py", line 158, in run
trainer.train(FLAGS.eval)
File "/home/moon/PaddleDetection/ppdet/engine/trainer.py", line 639, in train
self._eval_with_loader(self._eval_loader)
File "/home/moon/PaddleDetection/ppdet/engine/trainer.py", line 676, in _eval_with_loader
metric.update(data, outs)
File "/home/moon/PaddleDetection/ppdet/metrics/metrics.py", line 103, in update
for k, v in outputs.items():
AttributeError: 'Tensor' object has no attribute 'items'
Beta Was this translation helpful? Give feedback.
All reactions