Closed olwethumlimi closed 2 years ago
trainer.py with open(filepath, newline='',encoding="UTF-8") as csv_file: reader = csv.DictReader(csv_file) for row in reader: contexts.append(row['text']) if not test_data: labels.append(int(row['label'])) csv_file.close()
@EricFillion is this resolved?
Yes it is
trainer.py with open(filepath, newline='',encoding="UTF-8") as csv_file: reader = csv.DictReader(csv_file) for row in reader: contexts.append(row['text']) if not test_data: labels.append(int(row['label'])) csv_file.close()