YOLO_v3_tutorial_from_scratch icon indicating copy to clipboard operation
YOLO_v3_tutorial_from_scratch copied to clipboard

Hard coded stride in create_modules for upsample

Open geoffwoollard opened this issue 5 years ago • 0 comments

There is an error in darknet.py line 118 in https://github.com/ayooshkathuria/YOLO_v3_tutorial_from_scratch/commit/0057114edfa1522e089dc5f379a1ebd4282f0ff3

upsample = nn.Upsample(scale_factor = 2, mode = "nearest") should be upsample = nn.Upsample(scale_factor = stride, mode = "nearest")

This bug is silent since stride=2 in the cfg file. But if someone changed the value it would not be applied. The value 2 would be used since it is hard coded in create_modules.

geoffwoollard avatar Mar 07 '19 18:03 geoffwoollard