JosephKJ / OWOD

(CVPR 2021 Oral) Open World Object Detection
https://josephkj.in
Apache License 2.0
1.03k stars 155 forks source link

Error while training for task 2 - UnboundLocalError: local variable 'length' referenced before assignment #41

Closed rush2406 closed 3 years ago

rush2406 commented 3 years ago

Hi,

I'm facing the following error while training for task 2 - error

Due to this error, I'm unable to start the training for task 2. I would really appreciate if you could help regarding this error.

mmaaz60 commented 3 years ago

Hi @rush2406,

Please check this https://github.com/JosephKJ/OWOD/pull/42.

rush2406 commented 3 years ago

Thanks @mmaaz60, it worked!

JosephKJ commented 3 years ago

Apparently, this happens because you did change the number of iterations that you used for training Task 1 from 18000 to 36000, but did not update the Task 2 training with this info:

OWOD:
  CLUSTERING:
    START_ITER: 18000 ---change-to---> 36000