mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2026-01-17 11:50:35 +08:00
Adding SQL dataset classes to ImplicitronDataSource imports
Summary: Making it easier for the clients to use these datasets. Reviewed By: bottler Differential Revision: D46727179 fbshipit-source-id: cf619aee4c4c0222a74b30ea590cf37f08f014cc
This commit is contained in:
committed by
Facebook GitHub Bot
parent
3d886c32d5
commit
cd5db076d5
@@ -72,6 +72,16 @@ class ImplicitronDataSource(DataSourceBase): # pyre-ignore[13]
|
||||
from .rendered_mesh_dataset_map_provider import ( # noqa: F401
|
||||
RenderedMeshDatasetMapProvider,
|
||||
)
|
||||
from .train_eval_data_loader_provider import ( # noqa: F401
|
||||
TrainEvalDataLoaderMapProvider,
|
||||
)
|
||||
|
||||
try:
|
||||
from .sql_dataset_provider import ( # noqa: F401 # pyre-ignore
|
||||
SqlIndexDatasetMapProvider,
|
||||
)
|
||||
except ModuleNotFoundError:
|
||||
pass # environment without SQL dataset
|
||||
finally:
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user