@Ebyau_Bryan there should be no error if train_dir and train_dataset.csv exist. could you try loading the csv to pandas dataframe.
import pandas as pd
mycsv = pd.read_csv ('path')
mycsv.head()

and check if csv has loaded correctly