-
Notifications
You must be signed in to change notification settings - Fork 758
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GSoC 2024: libvmaf: Propagate metadata #1374
Conversation
7554437
to
6833db4
Compare
Thanks @yigithanyigit, will add my review tomorrow morning. |
@@ -287,9 +288,11 @@ int vmaf_predict_score_at_index(VmafModel *model, | |||
index); | |||
|
|||
if (err) { | |||
if (!propagate_metadata) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to understand this better - are there plans to make more changes to this function based on this flag, or will it just be used to suppress logs in case of error?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my case I used to suppress the logs because when calculating the vmaf
score, each feature appends to the collector and attempts to access non-initialized features and is causing numerous errors. However, I am aware that this flag prevents visibility of 'real' errors, I am open to discuss that.
f7852b1
to
b63d463
Compare
libvmaf/test/test_psnr.c
Outdated
@@ -84,7 +85,7 @@ static char *test_16b_large_diff() | |||
mu_assert("wrong mse_y", almost_equal(mse_y, 4294836225.0)); | |||
mu_assert("wrong mse_cb", almost_equal(mse_cb, 4294836225.0)); | |||
mu_assert("wrong mse_cr", almost_equal(mse_cr, 4294836225.0)); | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general we should avoid introducing unrelated changes into the diff, makes it much harder to read.
Left a few small comments. I still need to spend some time with your tests to see how this all works. Also, in general, I think the |
@yigithanyigit Looks like there is a use after free in You can enable address sanitizer via meson like this:
|
ade5e71
to
6703607
Compare
FYI: The build failures are due to cjlin1/libsvm#218 and they are fixed now after #1384. I'll rebase. |
This new failure seems legitimate. |
Issue looks like related our temporary Thanks |
577b241
to
0e5f2f1
Compare
0e5f2f1
to
7d00f6e
Compare
Part of the GSoC 2024 project.
Supports propagating metadata with modified
feature_vector_append
.