Open mathieuchateau opened 2 years ago
Second warning during same run on another line (248):
lib/python3.9/site-packages/fast_bert/data_cls.py:248: DtypeWarning: Columns (0,1) have mixed types. Specify dtype option on import or set low_memory=False.
data_df = pd.read_csv(os.path.join(self.data_dir, filename))
this is related to the format of your datafiles, which can lead to issues when importing a CSV via a pandas dataframe. I might submit a pull request to allow xlsx files instead, since these have better handling for rows/columns, but for now one workaround is to ensure all your text in a CSV is surrounded by double quotes: "
Hello, I am quite new on the topic, sorry if it's a false issue.
When loading with BertDataBunch, I got this warning:
I already have this sort of issue with panda in my code, but with BertDataBunch I can't find a way to set dtype option ? Installed fast-bert yesterday, so latest version I guess