Closed dgcnz closed 5 months ago
Solves https://github.com/Parskatt/RoMa/issues/26
Changes:
amp_dtype
One can now run RoMa on cpu by specifying amp_dtype=torch.float32 like so:
amp_dtype=torch.float32
roma_model = roma_outdoor(device=device, amp_dtype=torch.float32)
Seems good, did you check that it works? Relatedly I should probably add some tests haha.
I'll merge it anyway, shouldn't be any issues I think.
Solves https://github.com/Parskatt/RoMa/issues/26
Changes:
amp_dtype
One can now run RoMa on cpu by specifying
amp_dtype=torch.float32
like so: