Make directory and image order identical across multi workers
Check th exception when read from checkpoint
Fix a typo of convert_from_data function