Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hi Davis,
- If you're reading this, I really appreciate you taking your time for helping me out on reimplementing MMOD for Python-based ML frameworks.
- I've checked out the projections between image pyramids, bounding box rectangles from the input <-> output of the convolution layers, alongside IOU of the truth labels and projected labels (as you did in Dlib) to be sure that all possible labels could be projected.
- The only thing which hasn't been implemented is the random cropper.
- Despite this though, it seems that the more epochs that get run, loss converges to negative and the number of false positives just keeps on increasing.
- The arrays in the logs below represent the truth_hit_scores for all 4 images processed through training.
- Logs during init of training:
- ```
- [ 0. 0. 0. 0. 0. 0.]
- Got 8 false detections out of 65 possible. Total detections passing adjust_threshold are 198.
- [ 0. -0.95001137 0. ]
- Got 7 false detections out of 65 possible. Total detections passing adjust_threshold are 198.
- [ 0. 0. 0.]
- Train Epoch: 18 [0/4 (0%)] Loss: 12.760210
- Got 9 false detections out of 85 possible. Total detections passing adjust_threshold are 220.
- [ 0. 0. 0. 0. 0. -0.93091977
- 0. ]
- Got 9 false detections out of 80 possible. Total detections passing adjust_threshold are 220.
- [ 0. 0. 0. 0. 0. 0.]
- Got 9 false detections out of 65 possible. Total detections passing adjust_threshold are 220.
- [ 0. 0. 0.]
- Got 9 false detections out of 65 possible. Total detections passing adjust_threshold are 220.
- [-0.93091977 0. 0. ]
- Train Epoch: 19 [0/4 (0%)] Loss: 12.453386
- Got 6 false detections out of 85 possible. Total detections passing adjust_threshold are 163.
- [ 0. 0. -0.90781587 0. 0. 0. 0. ]
- Got 7 false detections out of 80 possible. Total detections passing adjust_threshold are 163.
- [ 0. 0. 0. 0. 0. 0.]
- Got 6 false detections out of 65 possible. Total detections passing adjust_threshold are 163.
- [ 0. -0.98961055 0. ]
- Got 7 false detections out of 65 possible. Total detections passing adjust_threshold are 163.
- [ 0. 0. 0.]
- Train Epoch: 20 [0/4 (0%)] Loss: 12.397964
- Got 7 false detections out of 85 possible. Total detections passing adjust_threshold are 210.
- [ 0. 0. -0.93060511 0. 0. 0. 0. ]
- Got 7 false detections out of 80 possible. Total detections passing adjust_threshold are 210.
- [ 0. 0. 0. 0. 0. 0.]
- Got 7 false detections out of 65 possible. Total detections passing adjust_threshold are 210.
- [ 0. 0. 0.]
- Got 7 false detections out of 65 possible. Total detections passing adjust_threshold are 210.
- [ 0. 0. 0.]
- Train Epoch: 21 [0/4 (0%)] Loss: 12.235068
- Got 9 false detections out of 85 possible. Total detections passing adjust_threshold are 525.
- [-0.75991768 0. 0. -0.9831866 0. 0. 0. ]
- Got 9 false detections out of 80 possible. Total detections passing adjust_threshold are 525.
- [ 0. 0. 0. -0.66523236 0. 0. ]
- Got 9 false detections out of 65 possible. Total detections passing adjust_threshold are 525.
- [ 0. 0. 0.]
- Got 9 false detections out of 65 possible. Total detections passing adjust_threshold are 525.
- [ 0. 0. 0.]
- Train Epoch: 22 [0/4 (0%)] Loss: 12.127900
- Got 6 false detections out of 85 possible. Total detections passing adjust_threshold are 181.
- [ 0. 0. 0. -0.96915984 0. -0.92044407
- 0. ]
- Got 7 false detections out of 80 possible. Total detections passing adjust_threshold are 181.
- [ 0. 0. 0. 0. 0. 0.]
- Got 7 false detections out of 65 possible. Total detections passing adjust_threshold are 181.
- [ 0. 0. 0.]
- Got 7 false detections out of 65 possible. Total detections passing adjust_threshold are 181.
- [-0.92044407 0. 0. ]
- Train Epoch: 23 [0/4 (0%)] Loss: 11.538725
- Got 4 false detections out of 85 possible. Total detections passing adjust_threshold are 87.
- [ 0. 0. 0. 0. 0. 0. 0.]
- Got 3 false detections out of 80 possible. Total detections passing adjust_threshold are 87.
- [ 0. 0. -0.99219668 0. 0. 0. ]
- Got 3 false detections out of 65 possible. Total detections passing adjust_threshold are 87.
- [ 0. 0. -0.99219668]
- Got 4 false detections out of 65 possible. Total detections passing adjust_threshold are 87.
- [ 0. 0. 0.]
- Train Epoch: 24 [0/4 (0%)] Loss: 11.658006
- Got 7 false detections out of 85 possible. Total detections passing adjust_threshold are 461.
- [ 0. 0. 0. 0. 0. 0. 0.]
- Got 7 false detections out of 80 possible. Total detections passing adjust_threshold are 461.
- [ 0. -0.88002765 -0.8866421 0. 0. 0. ]
- Got 7 false detections out of 65 possible. Total detections passing adjust_threshold are 461.
- [ 0. 0. -0.8866421]
- Got 7 false detections out of 65 possible. Total detections passing adjust_threshold are 461.
- [ 0. 0. 0.]
- Train Epoch: 25 [0/4 (0%)] Loss: 11.209248
- Got 9 false detections out of 85 possible. Total detections passing adjust_threshold are 1940.
- [ 0. 0. 0. 0. 0. 0. 0.]
- Got 10 false detections out of 80 possible. Total detections passing adjust_threshold are 1940.
- [ 0. 0. 0. -0.72248888 0. 0. ]
- Got 10 false detections out of 65 possible. Total detections passing adjust_threshold are 1940.
- [ 0. 0. -0.72248888]
- Got 9 false detections out of 65 possible. Total detections passing adjust_threshold are 1940.
- [ 0. 0. 0.]
- Train Epoch: 26 [0/4 (0%)] Loss: 11.285807
- Got 7 false detections out of 85 possible. Total detections passing adjust_threshold are 2269.
- [ 0. 0. 0. 0. 0. 0. 0.]
- Got 7 false detections out of 80 possible. Total detections passing adjust_threshold are 2269.
- [ 0. 0. 0. 0. 0. 0.]
- Got 8 false detections out of 65 possible. Total detections passing adjust_threshold are 2269.
- [ 0. -0.78800493 0. ]
- Got 8 false detections out of 65 possible. Total detections passing adjust_threshold are 2269.
- [-0.63037932 0. 0. ]
- Train Epoch: 27 [0/4 (0%)] Loss: 11.185555
- Got 8 false detections out of 85 possible. Total detections passing adjust_threshold are 2145.
- [ 0. 0. 0. 0. 0. 0. 0.]
- Got 9 false detections out of 80 possible. Total detections passing adjust_threshold are 2145.
- [ 0. 0. 0. 0. -0.73853564 0. ]
- Got 9 false detections out of 65 possible. Total detections passing adjust_threshold are 2145.
- [ 0. -0.78757828 0. ]
- Got 9 false detections out of 65 possible. Total detections passing adjust_threshold are 2145.
- [-0.62035728 0. 0. ]
- Train Epoch: 28 [0/4 (0%)] Loss: 10.981290
- Got 7 false detections out of 85 possible. Total detections passing adjust_threshold are 1710.
- [ 0. 0. 0. -0.88512164 0. 0. 0. ]
- Got 8 false detections out of 80 possible. Total detections passing adjust_threshold are 1710.
- [ 0. 0. 0. 0. 0. 0.]
- Got 7 false detections out of 65 possible. Total detections passing adjust_threshold are 1710.
- [-0.88512164 -0.82063919 0. ]
- Got 8 false detections out of 65 possible. Total detections passing adjust_threshold are 1710.
- [-0.69016021 0. 0. ]
- Train Epoch: 29 [0/4 (0%)] Loss: 10.690399
- Got 6 false detections out of 85 possible. Total detections passing adjust_threshold are 844.
- [-0.77424026 0. 0. 0. -0.82664561 0. 0. ]
- Got 6 false detections out of 80 possible. Total detections passing adjust_threshold are 844.
- [ 0. 0. 0. -0.67760009 0. 0. ]
- Got 7 false detections out of 65 possible. Total detections passing adjust_threshold are 844.
- [ 0. -0.82664561 -0.67760009]
- Got 7 false detections out of 65 possible. Total detections passing adjust_threshold are 844.
- [ 0. 0. 0.]
- Train Epoch: 30 [0/4 (0%)] Loss: 10.727098
- Got 5 false detections out of 85 possible. Total detections passing adjust_threshold are 363.
- [ 0. -0.88453174 -0.77209729 0. 0. 0. 0. ]
- Got 5 false detections out of 80 possible. Total detections passing adjust_threshold are 363.
- [ 0. -0.88453174 0. 0. 0. 0. ]
- Got 5 false detections out of 65 possible. Total detections passing adjust_threshold are 363.
- [ 0. 0. 0.]
- Got 5 false detections out of 65 possible. Total detections passing adjust_threshold are 363.
- [ 0. 0. 0.]
- Train Epoch: 31 [0/4 (0%)] Loss: 10.545267
- Got 4 false detections out of 85 possible. Total detections passing adjust_threshold are 272.
- [ 0. 0. -0.75345498 0. 0. 0. 0. ]
- Got 4 false detections out of 80 possible. Total detections passing adjust_threshold are 272.
- [ 0. 0. 0. 0. 0. 0.]
- Got 4 false detections out of 65 possible. Total detections passing adjust_threshold are 272.
- [-0.86723161 0. 0. ]
- Got 4 false detections out of 65 possible. Total detections passing adjust_threshold are 272.
- [-0.75345498 0. 0. ]
- Train Epoch: 32 [0/4 (0%)] Loss: 10.588961
- Got 5 false detections out of 85 possible. Total detections passing adjust_threshold are 460.
- [ 0. 0. -0.74106771 0. 0. 0. 0. ]
- Got 5 false detections out of 80 possible. Total detections passing adjust_threshold are 460.
- [ 0. 0. 0. 0. 0. 0.]
- Got 5 false detections out of 65 possible. Total detections passing adjust_threshold are 460.
- [-0.88770908 0. 0. ]
- Got 5 false detections out of 65 possible. Total detections passing adjust_threshold are 460.
- [-0.74106771 0. 0. ]
- Train Epoch: 33 [0/4 (0%)] Loss: 10.434491
- Got 5 false detections out of 85 possible. Total detections passing adjust_threshold are 749.
- [ 0. 0. -0.76613104 0. 0. 0. 0. ]
- Got 5 false detections out of 80 possible. Total detections passing adjust_threshold are 749.
- [ 0. 0. 0. 0. 0. 0.]
- Got 5 false detections out of 65 possible. Total detections passing adjust_threshold are 749.
- [ 0. 0. 0.]
- Got 6 false detections out of 65 possible. Total detections passing adjust_threshold are 749.
- [-0.76613104 0. 0. ]
- Train Epoch: 34 [0/4 (0%)] Loss: 10.403461
- Got 5 false detections out of 85 possible. Total detections passing adjust_threshold are 616.
- [-0.84331042 0. 0. 0. 0. 0. 0. ]
- Got 4 false detections out of 80 possible. Total detections passing adjust_threshold are 616.
- [ 0. 0. 0. -0.69780171 0. -0.97794014]
- Got 5 false detections out of 65 possible. Total detections passing adjust_threshold are 616.
- [ 0. 0. -0.69780171]
- Got 5 false detections out of 65 possible. Total detections passing adjust_threshold are 616.
- [ 0. 0. 0.]
- Train Epoch: 35 [0/4 (0%)] Loss: 10.299458
- Got 5 false detections out of 85 possible. Total detections passing adjust_threshold are 740.
- [-0.78949642 0. 0. 0. -0.9208917 0. 0. ]
- Got 5 false detections out of 80 possible. Total detections passing adjust_threshold are 740.
- [ 0. 0. 0. -0.65821373 0. 0. ]
- Got 5 false detections out of 65 possible. Total detections passing adjust_threshold are 740.
- [ 0. -0.9208917 -0.65821373]
- Got 5 false detections out of 65 possible. Total detections passing adjust_threshold are 740.
- [ 0. 0. 0.]
- Train Epoch: 36 [0/4 (0%)] Loss: 10.204040
- Got 5 false detections out of 85 possible. Total detections passing adjust_threshold are 1246.
- [ 0. -0.79371285 0. 0. 0. 0. 0. ]
- Got 5 false detections out of 80 possible. Total detections passing adjust_threshold are 1246.
- [ 0. 0. -0.6737355 0. 0. 0. ]
- Got 5 false detections out of 65 possible. Total detections passing adjust_threshold are 1246.
- [ 0. 0. -0.6737355]
- Got 5 false detections out of 65 possible. Total detections passing adjust_threshold are 1246.
- [ 0. 0. 0.]
- ```
- After a bunch of epochs (counting how many bbox's are suppressed instead of the number of false detections).
- ```
- Ignored 2250 bounding boxes out of 2255. Max number of detections is 85.
- [ 94080.4375 0. 0. 0. 0. 0.
- 0. ]
- Ignored 2250 bounding boxes out of 2255. Max number of detections is 80.
- [ 0. 0. 0. 73947.8671875
- 11475.16699219 0. ]
- Ignored 2250 bounding boxes out of 2255. Max number of detections is 65.
- [ 0. 0. 0.]
- Ignored 2250 bounding boxes out of 2255. Max number of detections is 65.
- [ 0. 94080.4375 0. ]
- Train Epoch: 963 [0/4 (0%)] Loss: -130170.796875
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement