According to warnings that arise when running the Cellsegmentator, one should supply torch.Tensor with a single ndarray rather than multiple in a list in order for the conversion to be more efficient.
This PR adds a quick call to np.array for the input to the Tensor call.
According to warnings that arise when running the Cellsegmentator, one should supply
torch.Tensor
with a single ndarray rather than multiple in a list in order for the conversion to be more efficient.This PR adds a quick call to
np.array
for the input to the Tensor call.