tokenid commited on
Commit
7103ae4
1 Parent(s): 35f429b
Files changed (2) hide show
  1. app.py +1 -1
  2. src/models/renderer/utils/renderer.py +1 -1
app.py CHANGED
@@ -316,7 +316,7 @@ with gr.Blocks() as demo:
316
  inputs=[input_image],
317
  label="Examples",
318
  cache_examples=False,
319
- examples_per_page=15
320
  )
321
 
322
  with gr.Column():
 
316
  inputs=[input_image],
317
  label="Examples",
318
  cache_examples=False,
319
+ examples_per_page=12
320
  )
321
 
322
  with gr.Column():
src/models/renderer/utils/renderer.py CHANGED
@@ -68,7 +68,7 @@ def sample_from_planes(plane_axes, plane_features, coordinates, mode='bilinear',
68
 
69
  coordinates = (2/box_warp) * coordinates # add specific box bounds
70
 
71
- print('plane_axes', plane_axes.dtype, 'plane_features', plane_features.dtype, 'coordinates', coordinates.dtype)
72
 
73
  projected_coordinates = project_onto_planes(plane_axes, coordinates).unsqueeze(1)
74
  output_features = torch.nn.functional.grid_sample(
 
68
 
69
  coordinates = (2/box_warp) * coordinates # add specific box bounds
70
 
71
+ print('plane_axes', plane_axes.device, 'plane_features', plane_features.device, 'coordinates', coordinates.device)
72
 
73
  projected_coordinates = project_onto_planes(plane_axes, coordinates).unsqueeze(1)
74
  output_features = torch.nn.functional.grid_sample(