| 745 | return subjective_dataset_tester.test_assets, subjective_dataset_tester.results |
| 746 | |
| 747 | def print_matplotlib_warning(): |
| 748 | print("Warning: cannot import matplotlib, no picture displayed. " \ |
| 749 | "If you are on Mac OS and have installed matplotlib, you " \ |
| 750 | "possibly need to run: \nsudo pip uninstall python-dateutil \n" \ |
| 751 | "sudo pip install python-dateutil==2.2 \n" \ |
| 752 | "Refer to: http://stackoverflow.com/questions/27630114/matplotlib-issue-on-os-x-importerror-cannot-import-name-thread") |
| 753 | |
| 754 | |
| 755 | def train_test_vmaf_on_dataset(train_dataset, test_dataset, |