varora commited on
Commit ·
a805815
1
Parent(s): 4198a51
changes to hit.py
Browse files
hit.py
CHANGED
|
@@ -180,6 +180,7 @@ class NewDataset(datasets.GeneratorBasedBuilder):
|
|
| 180 |
for subject_path in filepath:
|
| 181 |
with gzip.open(subject_path, 'rb') as f:
|
| 182 |
data = pickle.load(f)
|
|
|
|
| 183 |
print(f"pc shape: {data['body_cont_pc'].shape}")
|
| 184 |
print(f"mri_seg shape: {data['mri_seg'].shape}")
|
| 185 |
print(f"mri_seg_dict shape: {data['body_mask'].shape}")
|
|
|
|
| 180 |
for subject_path in filepath:
|
| 181 |
with gzip.open(subject_path, 'rb') as f:
|
| 182 |
data = pickle.load(f)
|
| 183 |
+
print(data.keys())
|
| 184 |
print(f"pc shape: {data['body_cont_pc'].shape}")
|
| 185 |
print(f"mri_seg shape: {data['mri_seg'].shape}")
|
| 186 |
print(f"mri_seg_dict shape: {data['body_mask'].shape}")
|