I tried with 2 groups of image, 10001000 and 20482048.
10001000 worked just fine but 20482048 report the runtime error:Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!
pathflow-mixmatch register_images --im1 match_fixed_dapi_23093_2048.png --im2 match_area_original_moving_dapi_23093_2048.png --fix_rotation False --output_dir output_registered_images/ --gpu_device 0 --transform_type rigid --lr 0.01 --iterations 1000 --min_object_size 500 --no_segment_analysis True --black_background True
I tried another group of images of 2048*2048, it worked fine, too. I don't know what triggered this error.
I tried with 2 groups of image, 10001000 and 20482048.
10001000 worked just fine but 20482048 report the runtime error:Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!
pathflow-mixmatch register_images --im1 match_fixed_dapi_23093_2048.png --im2 match_area_original_moving_dapi_23093_2048.png --fix_rotation False --output_dir output_registered_images/ --gpu_device 0 --transform_type rigid --lr 0.01 --iterations 1000 --min_object_size 500 --no_segment_analysis True --black_background True
I tried another group of images of 2048*2048, it worked fine, too. I don't know what triggered this error.