AutonomousDrivingCookbook icon indicating copy to clipboard operation
AutonomousDrivingCookbook copied to clipboard

KeyError: ImageName

Open ivannson opened this issue 6 years ago • 1 comments

I was trying to run "Step 0 - Data Exploration and Preparation" on my own dataset, however, I was getting NameError: ImageName when running the last cell:

`train_eval_test_split = [0.7, 0.2, 0.1]

full_path_raw_folders = [os.path.join(RAW_DATA_DIR, f) for f in DATA_FOLDERS]

cook(full_path_raw_folders, COOKED_DATA_DIR, train_eval_test_split)`

I found out that this is because in the Cooking.py file, the images column airsim_rec.txt was being referred to as ImageName, however my airsim_rec.txt file the column is actually named ImageFile.

I hope this helps anyone who might be having the same issue.

ivannson avatar Jan 17 '19 16:01 ivannson

Are you using the binaries downloaded from the AirSim repo or the ones included in the tutorial? They are not the same.

mitchellspryn avatar Jan 30 '19 07:01 mitchellspryn