Tested Val + test datasets with this code. No error for bufferedImage construction. Modify logback too.