easy_detection icon indicating copy to clipboard operation
easy_detection copied to clipboard

'Namespace' object has no attribute 'width'

Open Man3350 opened this issue 4 years ago • 1 comments

when training with yolov3, I met the problem that 'Namespace' object has no attribute 'width', while it has no problem when training with yolov2. The code is shape = (opt.width, opt.height) How should I verify the code to make it run successfully! Thanks!

Man3350 avatar Dec 11 '21 09:12 Man3350

replaced with

shape = self.config.DATA.SCALE

misads avatar Mar 20 '22 09:03 misads