update cifar10 dataset fixing missing error handling code in validator
Signed-off-by: leonwanghui <leon.wanghui@huawei.com>