Einstellung commited on
Commit
8cb3ab3
1 Parent(s): 6681562

Fix report format

Browse files
Files changed (1) hide show
  1. CXR_Reports.py +1 -1
CXR_Reports.py CHANGED
@@ -47,5 +47,5 @@ class ReportsCXR(datasets.GeneratorBasedBuilder):
47
  parsed_image_dataset = raw_image_dataset.map(_parse_image_function)
48
  for i, image_features in enumerate(parsed_image_dataset):
49
  image_raw = image_features['image'].numpy()
50
- str_report = np.array2string(image_features['report'].numpy())
51
  yield i, {'image': image_raw, 'report': str_report}
 
47
  parsed_image_dataset = raw_image_dataset.map(_parse_image_function)
48
  for i, image_features in enumerate(parsed_image_dataset):
49
  image_raw = image_features['image'].numpy()
50
+ str_report = image_features['report'].numpy()
51
  yield i, {'image': image_raw, 'report': str_report}