Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion FastSurferCNN/run_prediction.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def __init__(
f"Could not find the ColorLUT in {lut}, please make sure the --lut argument is valid."
) from err
self.labels = self.lut["ID"].values
self.torch_labels = torch.from_numpy(self.lut["ID"].values)
self.torch_labels = torch.from_numpy(np.asarray(self.lut["ID"].values))
self.names = ["SubjectName", "Average", "Subcortical", "Cortical"]
self.cfg_fin, cfg_cor, cfg_sag, cfg_ax = args2cfg(cfg_ax, cfg_cor, cfg_sag, batch_size=batch_size)
# the order in this dictionary dictates the order in the view aggregation
Expand Down
Loading