hasanirtiza / Pedestron

[Pedestron] Generalizable Pedestrian Detection: The Elephant In The Room. @ CVPR2021
https://openaccess.thecvf.com/content/CVPR2021/papers/Hasan_Generalizable_Pedestrian_Detection_The_Elephant_in_the_Room_CVPR_2021_paper.pdf
Apache License 2.0
682 stars 159 forks source link

Runtime error - Training with EuroCity persons #160

Closed PriyamvadhaK closed 1 year ago

PriyamvadhaK commented 1 year ago

Thanks for your error report and we appreciate it a lot.

Checklist

  1. I have searched related issues but cannot get the expected help. -> yes
  2. The bug has not been fixed in the latest version. -> <es

Describe the bug Running the train script with the Eurocity persons dataset using either cascade net or fasterrcnn has some issue - RuntimeError: Expected object of scalar type Byte but got scalar type Bool for argument #2 'other'

Reproduction

  1. What command or script did you run?

    conda run python tools/train.py configs/elephant/eurocity/faster_rcnn_hrnet.py
  2. Did you make any modifications on the code or config? Did you understand what you have modified? No, did not modify anything

  3. What dataset did you use?

Environment Same as Google collab demo script

Error traceback If applicable, paste the error trackback here.

image

image

Bug fix If you have already identified the reason, you can provide the information here. If you are willing to create a PR to fix it, please also leave a comment here and that would be much appreciated!

hasanirtiza commented 1 year ago

It’s a known issue. It can be resolved (look at #17 and #60).