Skip to content

Commit

Permalink
feat: adjusted sample_nums (#1768)
Browse files Browse the repository at this point in the history
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: #1768

Reviewed By: MichaelRamamonjisoa

Differential Revision: D55632872

Pulled By: bottler

fbshipit-source-id: 44d633a8068076889e49d49b8a7910dba0db37a7
  • Loading branch information
ashimdahal authored and facebook-github-bot committed Apr 2, 2024
1 parent 31e3488 commit 128be02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/dataloaders_ShapeNetCore_R2N2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 128be02

Please sign in to comment.