Skip to content

Commit

Permalink
Update deprecated PyTorch functions in fbcode/vision
Browse files Browse the repository at this point in the history
Reviewed By: bottler

Differential Revision: D58762015

fbshipit-source-id: a0d05fe63a88d33e3f7783b5a7b2a476dd3a7449
  • Loading branch information
kit1980 authored and facebook-github-bot committed Jun 20, 2024
1 parent b0462d8 commit 00c36ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytorch3d/implicitron/dataset/frame_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ def collate(cls, batch):
# TODO: don't store K; enforce working in NDC space
return join_cameras_as_batch(batch)
else:
return torch.utils.data._utils.collate.default_collate(batch)
return torch.utils.data.dataloader.default_collate(batch)


FrameDataSubtype = TypeVar("FrameDataSubtype", bound=FrameData)
Expand Down

0 comments on commit 00c36ec

Please sign in to comment.