wshuyi / demo-nlp-classification-fastai

4 stars 2 forks source link

from_csv() missing 1 required positional argument: 'csv_name' #1

Open HappyLife-together opened 5 years ago

HappyLife-together commented 5 years ago

Traceback (most recent call last): File "demo.py", line 18, in data_lm=TextLMDataBunch.from_csv(path, valid='test') TypeError: from_csv() missing 1 required positional argument: 'csv_name'

navneetkrc commented 5 years ago

data_lm = TextLMDataBunch.from_csv(path,csv_name='train.csv', test='test.csv') The fastai library changed so this should be the new line