Which weights file should I use when I choose the cfg yolov3-tiny.cfg?@Samjith888 your command automatically loads the ultralytics49.pt
backbone, which requires yolov3-spp.cfg
. You must remove the backbone by using --weights ''
, or specify a weights-cfg combination that is compatible.
#1548
Labels
Stale
Stale and schedule for closing soon
I want to add attention se in yolov3-tiny.cfg, but I don't have a compatible weights. Thank you!
@Samjith888 your command automatically loads the
ultralytics49.pt
backbone, which requiresyolov3-spp.cfg
. You must remove the backbone by using--weights ''
, or specify a weights-cfg combination that is compatible.This error is caused by a user supplying incompatible
--weights
and--cfg
arguments. To solve this you must specify no weights (i.e. random initialization of the model) using--weights ''
and any--cfg
, or use a--cfg
that is compatible with your--weights
. If none are specified, the defaults are--weights ultralytics49.pt
and--cfg cfg/yolov3-spp.cfg
.Compatible
--weights --cfg
combinations:To train from scratch (randomly initialized weights), use:
ultralytics49.pt
is currently the highest performing YOLOv3 model (trained from scratch using this repo) available at the defaultimg-size
of 416 (see #310), which is the reason it is used as the default backbone.Originally posted by @glenn-jocher in #657 (comment)
The text was updated successfully, but these errors were encountered: