-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(transforms)!: use
torch
instead of numpy
* `transforms` are now implemented with PyTorch and expect a tensor as input. Their randomness is also controlled by PyTorch, removing the need for users to specify `worker_init_fn` in dataloaders. * For `RandomRotation`, the lightweight `roma` package is used instead of `scipy`. * `upsample_pcd` has moved from `data` to `transforms`. Additional changes: * Remove `Identity` from `transforms` (equivalent to `torch.nn.Identity`) * Remove copying data in `split_pcd` * Remove default values from `transforms` * Remove `scipy` and `roma` in dependencies * Update docs Fixes #32
- Loading branch information
Showing
6 changed files
with
145 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.