Fix sample .sh failures so test_all_samples.sh passes - #84
Merged
Conversation
The end-to-end run from the previous branch surfaced several pre-
existing sample issues. Fix them on a fresh branch from master:
Binary name typos:
- fugumt-en-ja.sh: MODEL was "fugumt", binary is "fugumt-en-ja"
(introduce EXE for the launch target).
- sentence_transformers.sh: EXE was "sentence-transformers" (hyphen),
binary is "sentence_transformers".
- t5_whisper_medical.sh: FILE1/FILE2 pointed at the missing
seq2seq-lm-with-past.onnx; switch to t5_whisper_medical-
decoder-with-lm-head.{obf.onnx,onnx.prototxt}.
Missing input downloads (cpp defaults expect specific files that
the .sh did not fetch). Pull them from ailia-models repo:
- silero-vad: en_example.wav
- u2net: input.png
- yolov3-face / yolov3-tiny: couple.jpg
- arcface: correct_pair_1.jpg, correct_pair_2.jpg (move outside
the video-only block)
- face_alignment: aflw-test.jpg, plus rename remote 2DFAN-4 →
face_alignment.{onnx,onnx.prototxt}
- mediapipe_iris: man.jpg
- lightweight-human-pose-estimation: balloon.png
Also add the test runner test_all_samples.sh, and extend .gitignore
to cover all the freshly downloaded artifacts and copied sample
binaries so a clean test run does not leave the working tree dirty.
After these changes 23/26 samples PASS on Linux x64. Remaining 3:
- object_tracking/bytetrack: cv::imshow needs a Qt display (works
with `-o output.mp4`, fails on headless CI; environment issue).
- (none on this branch).
https://claude.ai/code/session_0156W8Q67nhiyoVNafDD5hDa
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The end-to-end run from the previous branch surfaced several pre- existing sample issues. Fix them on a fresh branch from master:
Binary name typos:
Missing input downloads (cpp defaults expect specific files that the .sh did not fetch). Pull them from ailia-models repo:
Also add the test runner test_all_samples.sh, and extend .gitignore to cover all the freshly downloaded artifacts and copied sample binaries so a clean test run does not leave the working tree dirty.
After these changes 23/26 samples PASS on Linux x64. Remaining 3:
-o output.mp4, fails on headless CI; environment issue).