Skip to content

Commit

Permalink
now videodemo works without weights in folder
Browse files Browse the repository at this point in the history
  • Loading branch information
VCasecnikovs committed Jul 20, 2020
1 parent 10251e9 commit c8cc941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion video_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
threshold = 0.2
iou_threshold = 0.2

m = YOLOv4(weights_path="weights/yolov4.pth")
m = YOLOv4(pretrained=True, sam=False, eca=False)
m.requires_grad_(False)
m.eval()

Expand Down

0 comments on commit c8cc941

Please sign in to comment.