Open Radyngzh opened 1 year ago
TypeError: 'ABCMeta' object is not subscriptable
torch 1.10.0+cu113 cuda 11.2 python 3.8.10
nesvor reconstruct --input-slices ../nesvor/casenii \ --output-slices ../nesvor/outnii \ --output-resolution 0.8 \ --registration svort \ --segmentation \ --bias-field-correction
seems like a ez question..
Solved the problem by modifying the nesvor/utils/types .py
from typing import Union from os import PathLike import torch
PathType = Union[str, PathLike] DeviceType = Union[torch.device, str, None]
TypeError: 'ABCMeta' object is not subscriptable
torch 1.10.0+cu113 cuda 11.2 python 3.8.10
nesvor reconstruct --input-slices ../nesvor/casenii \ --output-slices ../nesvor/outnii \ --output-resolution 0.8 \ --registration svort \ --segmentation \ --bias-field-correction
seems like a ez question..