numpy pillow tensorflow