Repository: mlcommons/inference
Issue: AssertionError: Label file imagenet//labels.txt doesn't exist
Root cause: Validation Gap

INFO 17:27:41 subprocess_with_logger.py:  24: Running: awk (NR>0*50000/1000)&&(NR<=0*50000/1000+50000/1000) {print > "/var/tmp/tmpL8e5eT/caffe2/host/inputs/labels_0.txt"} /var/tmp/tmpL8e5eT/caffe2/host/labels.txt
INFO 17:27:41 subprocess_with_logger.py:  73: awk: cannot open /var/tmp/tmpL8e5eT/caffe2/host/labels.txt (No such file or directory)
INFO 17:27:41 subprocess_with_logger.py:  24: Running: {convert_image_to_tensor} --input_image_file /var/tmp/tmpL8e5eT/caffe2/host/inputs/labels_0.txt --output_tensor /var/tmp/tmpL8e5eT/caffe2/host/images_tensor.pb --batch_size 1 --scale 256,-1 --crop 224,224 --preprocess normalize,mean,std --report_time json|Caffe2Observer 
ERROR 17:27:41 subprocess_with_logger.py:  85: Unknown exception <type 'exceptions.OSError'>: {convert_image_to_tensor} --input_image_file /var/tmp/tmpL8e5eT/caffe2/host/inputs/labels_0.txt --output_tensor /var/tmp/tmpL8e5eT/caffe2/host/images_tensor.pb --batch_size 1 --scale 256,-1 --crop 224,224 --preprocess normalize,mean,std --report_time json|Caffe2Observer 
INFO 17:27:41 hdb.py:  27: push /var/tmp/tmpL8e5eT/caffe2/host/images_tensor.pb to /var/tmp/tmprFiKA9/ubuntu/images_tensor.pb
INFO 17:27:41 benchmark_driver.py:  64: Exception caught when running benchmark
INFO 17:27:41 benchmark_driver.py:  65: [Errno 2] No such file or directory: u'/var/tmp/tmpL8e5eT/caffe2/host/images_tensor.pb'
ERROR 17:27:41 benchmark_driver.py:  69: Traceback (most recent call last):
  File "/home/caffer/Downloads/shuff_tmp/tmp/FAI-PEP/benchmarking/driver/benchmark_driver.py", line 38, in runOneBenchmark
    data = _runOnePass(minfo, mbenchmark, framework, platform)
  File "/home/caffer/Downloads/shuff_tmp/tmp/FAI-PEP/benchmarking/driver/benchmark_driver.py", line 106, in _runOnePass
    framework.runBenchmark(info, benchmark, platform)
  File "/home/caffer/Downloads/shuff_tmp/tmp/FAI-PEP/benchmarking/frameworks/caffe2/caffe2.py", line 38, in runBenchmark
    platform)
  File "/home/caffer/Downloads/shuff_tmp/tmp/FAI-PEP/benchmarking/frameworks/framework_base.py", line 132, in runBenchmark
    if input_files else None
  File "/home/caffer/Downloads/shuff_tmp/tmp/FAI-PEP/benchmarking/platforms/platform_base.py", line 102, in copyFilesToPlatform
    copy_files)
  File "/home/caffer/Downloads/shuff_tmp/tmp/FAI-PEP/benchmarking/platforms/platform_base.py", line 90, in copyFilesToPlatform
    self.util.push(files, target_file)
  File "/home/caffer/Downloads/shuff_tmp/tmp/FAI-PEP/benchmarking/platforms/host/hdb.py", line 34, in push
    shutil.copyfile(src, tgt)
  File "/usr/lib/python2.7/shutil.py", line 96, in copyfile
    with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: u'/var/tmp/tmpL8e5eT/caffe2/host/images_tensor.pb'

INFO 17:27:41 benchmark_driver.py:  83: No data collected for on Linux-4.18.0-17-generic-x86_64-with-Ubuntu-18.04-bionic--IntelR-CoreTM-i5-8250U-CPU--1.60GHz (ubuntu). The run may be failed for c50ded815949b66ae6b31de27dc82426a294a06e
INFO 17:27:41 harness.py: 226:  ======= user and harness error =======


@sf-wind 
Excuse me, did you meet the problem of missing labels.txt?  

can you please send the entire log?

please check the latest code. close with lack of activities. Please re-open if needed @stoneboy100200