From 128be02fc078a91031a3c88730737f2531cac142 Mon Sep 17 00:00:00 2001 From: Ashim Dahal Date: Tue, 2 Apr 2024 06:02:48 -0700 Subject: [PATCH] feat: adjusted sample_nums (#1768) Summary: adjusted sample_nums to match the number of columns in the image grid. It originally produced image grid with 5 axes but only 3 images and after this fix, the block would work as intended. Pull Request resolved: https://github.com/facebookresearch/pytorch3d/pull/1768 Reviewed By: MichaelRamamonjisoa Differential Revision: D55632872 Pulled By: bottler fbshipit-source-id: 44d633a8068076889e49d49b8a7910dba0db37a7 --- docs/tutorials/dataloaders_ShapeNetCore_R2N2.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/dataloaders_ShapeNetCore_R2N2.ipynb b/docs/tutorials/dataloaders_ShapeNetCore_R2N2.ipynb index 09a61d44..8055b286 100644 --- a/docs/tutorials/dataloaders_ShapeNetCore_R2N2.ipynb +++ b/docs/tutorials/dataloaders_ShapeNetCore_R2N2.ipynb @@ -411,7 +411,7 @@ "outputs": [], "source": [ "random_model_images = shapenet_dataset.render(\n", - " sample_nums=[3],\n", + " sample_nums=[5],\n", " device=device,\n", " cameras=cameras,\n", " raster_settings=raster_settings,\n",