(img_path)
| 178 | tool = image_tool.ImageTool() |
| 179 | |
| 180 | def image_transform(img_path): |
| 181 | global tool |
| 182 | return tool.load(img_path).resize_by_range((112, 128)).random_crop( |
| 183 | (96, 96)).flip().get() |
| 184 | |
| 185 | data = ImageBatchIter('train.txt', |
| 186 | 3, |
nothing calls this directly
no test coverage detected