Commit 2e42ef79 authored by Jeremy Reizenstein's avatar Jeremy Reizenstein Committed by Facebook GitHub Bot
Browse files

register ImplicitronDataSource

Summary: Just register ImplicitronDataSource. We don't use it as pluggable yet here.

Reviewed By: shapovalov

Differential Revision: D37315698

fbshipit-source-id: ac41153383f9ab6b14ac69a3dfdc44aca0d94995
parent 81d63c63
...@@ -6,7 +6,11 @@ ...@@ -6,7 +6,11 @@
from typing import Tuple from typing import Tuple
from pytorch3d.implicitron.tools.config import ReplaceableBase, run_auto_creation from pytorch3d.implicitron.tools.config import (
registry,
ReplaceableBase,
run_auto_creation,
)
from .blender_dataset_map_provider import BlenderDatasetMapProvider # noqa from .blender_dataset_map_provider import BlenderDatasetMapProvider # noqa
from .data_loader_map_provider import DataLoaderMap, DataLoaderMapProviderBase from .data_loader_map_provider import DataLoaderMap, DataLoaderMapProviderBase
...@@ -25,6 +29,7 @@ class DataSourceBase(ReplaceableBase): ...@@ -25,6 +29,7 @@ class DataSourceBase(ReplaceableBase):
raise NotImplementedError() raise NotImplementedError()
@registry.register
class ImplicitronDataSource(DataSourceBase): # pyre-ignore[13] class ImplicitronDataSource(DataSourceBase): # pyre-ignore[13]
""" """
Represents the data used in Implicitron. This is the only implementation Represents the data used in Implicitron. This is the only implementation
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment