Skip to content

Commit

Permalink
Update preprocessor_normaldsine.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sdbds committed Mar 4, 2024
1 parent 4cf5bce commit 85f4206
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def __call__(self, input_image, resolution, slider_1=None, slider_2=None, slider
image_normal = rearrange(image_normal, 'h w c -> 1 c h w')
image_normal = self.norm(image_normal)

intrins = get_intrins_from_fov(new_fov=fov, H=orig_H, W=orig_W, device=self.device).unsqueeze(0)
intrins = get_intrins_from_fov(new_fov=fov, H=orig_H, W=orig_W, device=torch.device('cpu')).unsqueeze(0)
intrins[:, 0, 2] += l
intrins[:, 1, 2] += t

Expand Down

0 comments on commit 85f4206

Please sign in to comment.