Closed roccia closed 3 years ago
https://github.com/kaushaltrivedi/fast-bert/blob/b41ee05af18fbbff3e5fa209476041ce345e4c6a/fast_bert/data_lm.py#L193
this line str(data_dir / train_file) cause TypeError: unsupported operand type(s) for /: 'str' and 'str' error, it should bedata_dir + '/' + train_file
str(data_dir / train_file)
TypeError: unsupported operand type(s) for /: 'str' and 'str'
data_dir + '/' + train_file
hope I'm right about it
https://github.com/kaushaltrivedi/fast-bert/blob/b41ee05af18fbbff3e5fa209476041ce345e4c6a/fast_bert/data_lm.py#L193
this line
str(data_dir / train_file)
causeTypeError: unsupported operand type(s) for /: 'str' and 'str'
error, it should bedata_dir + '/' + train_file
hope I'm right about it