-
Notifications
You must be signed in to change notification settings - Fork 755
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
test_run_kfold_cross_validation_with_list_input fails on Fedora 23 #1
Comments
Hi Tdaede, there could be several possibilities: 1) If the numpy/scipy/sklearn are not up-to-date, there could be numeric differences. You can follow the Prerequiste/Troubleshooting section for this. 2) I also found that there could be numeric difference across platforms. I have not tried on Fedora. I could definitely look into a Fedora to see if the result makes sense or not. Is this the only failed test case? |
Hi Zhi, I am Haiqiang Wang from USC. Currently I work with Ioannis on the project. I pulled it from Git yesterday. All the prerequisite (numpy, scipy, Best, On Tue, Jun 7, 2016 at 12:51 PM, Zhi Li notifications@github.com wrote:
|
I realized that Fedora 23's versions of all the packages were out of date from those listed. I made a virtualenv and installed the versions listed, but still got the exact same result. Maybe it's a difference in BLAS implementation or something? I'm using atlas 3.10.2. |
Hi Haiqiang, just want to make sure you were directly building in Mac OS, not on a Fedora VM, right? |
Yes, directly in Mac OS. |
@tdaede: I was able to reproduce your issue on Fedora 23 (I noticed the atlas version was atlas-3.10.2-6.fc23.x86_64 when installing numpy). After upgrading numpy/scipy/sklearn/matplotlib/pandas (pip install --upgrade xxx), the issue went away. @haiqianw: I tried it on El Capitan, but was unable to reproduce it. I suspect it is still issue of package out of date. When you check the package version, please try to use: python -c 'import numpy as pkg; print pkg.version; print pkg.file' instead of 'pip freeze'. Sometimes they can give you different results. |
If I check the package version following README The only difference with README is about pandas, which required >=0.17.1 |
@haiqianw: from your output, I realize that you are using the anaconda installation. It's an known issue to me that some test cases will fail under anaconda (it seems to be an artifact with their bake). I would recommend not to use anaconda but simply use pip. |
In a Fedora 23 VM with blas and lapack but no atlas, all unit tests pass. So it seems like this is due to one of the dependencies using atlas instead. I'll walk through each one and see if I can find the offending package. |
Thanks! Let me know if you find anything and I'll put some notes in the troubleshoot section. |
Consolidate, clean up, minor optimizations - By Kyle
- Code modification based on understanding from MotionScore and VIF review - Addition of function macros for code consolidation - Performance optimsations with modifications of integer arithmetic logic
sync to master
…addBasicStatsToResult to master * commit '816fed90a27c216d5ed41dafb0d0bd6c40dcb298': Changing dict to list in stats Adding stats script Adding total variation and moving average. Need to add more tests Adding basic stats to Result class
Adjust the order and format of inputs to libvmaf_cuda according to https://ffmpeg.org/ffmpeg-filters.html#toc-libvmaf_005fcuda The libvmaf_cuda filter allows only AV_FIX_FMT_CUDA(sw NV12) (https://github.com/FFmpeg/FFmpeg/blob/master/libavfilter/vf_libvmaf.c#L821C26-L821C41). So the current code raises 'Unsupported input format: nv12' like below ``` Stream mapping: Stream #0:0 (h264) -> libvmaf_cuda Stream #1:0 (h264) -> libvmaf_cuda libvmaf_cuda:default -> Stream #0:0 (wrapped_avframe) Press [q] to stop, [?] for help [libvmaf @ 0x7f95d00050c0] Unsupported input format: nv12 [Parsed_libvmaf_cuda_0 @ 0x7f95d0004fc0] Failed to configure output pad on Parsed_libvmaf_cuda_0 [fc#0 @ 0x55b0b17da800] Error reinitializing filters! [fc#0 @ 0x55b0b17da800] Task finished with error code: -22 (Invalid argument) [fc#0 @ 0x55b0b17da800] Terminating thread with return code -22 (Invalid argument) [vost#0:0/wrapped_avframe @ 0x55b0b181a8c0] Could not open encoder before EOF [vost#0:0/wrapped_avframe @ 0x55b0b181a8c0] Task finished with error code: -22 (Invalid argument) [vost#0:0/wrapped_avframe @ 0x55b0b181a8c0] Terminating thread with return code -22 (Invalid argument) [out#0/null @ 0x55b0b181be80] Nothing was written into output file, because at least one of its streams received no packets. frame= 0 fps=0.0 q=0.0 Lsize= 0KiB time=N/A bitrate=N/A speed=N/A Conversion failed! ```
The value is off just a little too much for places=4. How much variance is expected here?
The text was updated successfully, but these errors were encountered: