lmbneuron / D-LMBmap

29 stars 5 forks source link

Register raises an error #7

Open TheInfamousWayne opened 2 months ago

TheInfamousWayne commented 2 months ago

I was trying to run the software version using the data_2 sample dataset provided. The style transfer and segmentation works. However, the Registration module throws the following error message:

Screenshot 2024-04-04 at 17 03 29

I tried to typecast the line 66 in torch/utils/data/_utils/collate.py module to this return torch.as_tensor(batch, dtype=torch.uint8), but the error still exists. My guess is that the error is somewhere else.

I would be grateful if you could help with this.