You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8c7184c
Browse filesBrowse the repository at this point in the historyBrowse files
[bugfix] Reject all-zero --weights instead of producing NaN frame scores
All-zero weights made ContentDetector divide by zero for every frame, so
detect-content/detect-adaptive ran without finding any scenes. Reject them in
ContentDetector, and give a usage error for -w and a config file error.
Fixes#612
Copy file name to clipboardExpand all lines: website/pages/changelog.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -864,3 +864,4 @@ Development
864
864
-[bugfix] The CLI now exits with 1 when no frames could be read from the input video, or seeking to the `time -s`/`--start` time fails, instead of 0
865
865
-[bugfix]`--kernel-size`/`-k` values the detectors cannot use (even numbers, 1, 0 and negatives other than -1) now give a usage error instead of a traceback, and `-k -1` now means auto, like the config file. A config file with `kernel-size = 1` is now an error [#604](https://github.com/Breakthrough/PySceneDetect/issues/604)
866
866
-[bugfix] Out of range values for `detect-adaptive --frame-window` (below 1) and `save-images``--num-images` (below 1), `--scale`, `--height` and `--width` (negative) now give a usage error instead of a traceback, and the same values are rejected in a config file [#609](https://github.com/Breakthrough/PySceneDetect/issues/609)
867
+
-[bugfix]`detect-content` / `detect-adaptive``--weights` set to all zeros (also in a config file) now give an error instead of NaN frame scores and no detected scenes, and `ContentDetector` / `AdaptiveDetector` raise a `ValueError` for them [#612](https://github.com/Breakthrough/PySceneDetect/issues/612)
0 commit comments