yjh0410 / PyTorch_YOLOF

A PyTorch version of You Only Look at One-level Feature object detector
36 stars 9 forks source link

fix typo #8

Closed guohanli closed 1 year ago

guohanli commented 1 year ago

When I run the eval process on VOC dataset, an error occurs:

Traceback (most recent call last):
  File "eval.py", line 126, in <module>
    voc_test(model, data_dir, device, transform)
  File "eval.py", line 42, in voc_test
    display=True)
TypeError: __init__() got an unexpected keyword argument 'data_root'

I discovered that this was due to a typo and simply fixed it. Everything is going well now.

yjh0410 commented 1 year ago

@guohanli Thanks for your reminder.