validation and test sets image norm.
try to fix the memory leak.
try to fix the memory leak of Image.open.