-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Datasets have been reformatted in this MR to support easy adding of new datasets. * All datasets should subclass WispDataset, which returns a `Batch` instance from `__get_item__` * Underneath WispDataset, abstract MultiviewDataset and SDFDataset define more specific interfaces. * NeRFSyntheticDataset and RTMVDataset are new concrete classes, which return a `MultiviewBatch`. * Previous SDFDataset separated to concrete classes MeshSampledSDFDataset and OctreeSampledSDFDataset, depending on whether samples are generated directly from mesh or limited by the octree narrowband. Both return a `SDFBatch`. * `load_multiview_dataset` is a convenience method that looks at a given path and tries to determine the correct `MultiviewDataset` subclass to create (out of all available dataset subclasses). This relies on the optional `is_root_of_dataset()` @classmethod each dataset may implement to distinguish itself from other formats. Signed-off-by: operel <[email protected]>
- Loading branch information
Showing
26 changed files
with
2,060 additions
and
1,187 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,4 +24,5 @@ PyDispatcher | |
pynvml | ||
setuptools==59.5.0 | ||
wandb>=0.13.5 | ||
pytest>=7.1.0 | ||
pytest>=7.1.0 | ||
attrdict |
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.