I am looking at a multi label regression model.
The labels are face landmarks (left_eye_center, left_eye_left … etc).
I am trying to create a databunch using ImageDataBunch. In this case, train_df_path has image path as the first column and the remaining facial attribute coordinates as the y value (labels). I have tried below DataBunch and I get an error
This is the ImageDataBunch code
path=Path('') tfms = get_transforms(do_flip=False) data = ImageDataBunch.from_df(path, train_df_path, ds_tfms=tfms, size=24, label_delim= ' ') \ .split_by_rand_pct(0.2) \ .label_from_df(cols=cols[1:]) \ .databunch()
Appreciate any help on this.