Skip to content

Instantly share code, notes, and snippets.

@quangnhat185
Last active October 27, 2021 03:12
Show Gist options
  • Save quangnhat185/f90d6bdc9b502e95f49bfaa9b3cedf64 to your computer and use it in GitHub Desktop.
Save quangnhat185/f90d6bdc9b502e95f49bfaa9b3cedf64 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@lsunku
Copy link

lsunku commented Jan 30, 2021

Thanks Quang for this amazing tutorial. I am trying to use your tutorial as based and build my own object detector. I face following problem while loading the images. by chance any pointers to overcome this error?

[yolo] params: iou loss: ciou (4), iou_norm: 0.07, cls_norm: 1.00, scale_x_y: 1.05
nms_kind: greedynms (1), beta = 0.600000
Total BFLOPS 59.585
avg_outputs = 490173
Allocate additional workspace_size = 52.43 MB
Loading weights from yolov4.conv.137...
seen 64, trained: 0 K-images (0 Kilo-batches_64)
Done! Loaded 137 layers from weights-file
Learning Rate: 0.001, Momentum: 0.949, Decay: 0.0005
Detection layer: 139 - type = 27
Detection layer: 150 - type = 27
Detection layer: 161 - type = 27
Resizing, random_coef = 1.40

608 x 608
Create 6 permanent cpu-threads
Cannot load image damage/Japan_001652.jpg
Cannot load image damage/India_006710.jpg
Cannot load image damage/Czech_002442.jpg
Cannot load image damage/India_002494.jpg
Cannot load image damage/Japan_002434.jpg
Cannot load image damage/Japan_007429.jpg

Error in load_data_detection() - OpenCV
Cannot load image damage/Japan_006991.jpg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment