KeyError: ImageName
ivannson opened this issue · 1 comments
ivannson commented
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.
mitchellspryn commented
Are you using the binaries downloaded from the AirSim repo or the ones included in the tutorial? They are not the same.