Skip to content

Commit

Permalink
Merge pull request #16 from utn-blei/main
Browse files Browse the repository at this point in the history
fixed attribute error.
  • Loading branch information
KeplerC authored Jun 17, 2024
2 parents 6c86abf + 84c08e2 commit 73f83ec
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion fog_x/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,15 +412,18 @@ def load_rtx_episodes_local(
# this is only required if rtx format is used
import tensorflow_datasets as tfds

b = tfds.builder(path)
b = tfds.builder_from_directory(path)
self._build_rtx_episodes_from_tfds_builder(
b,
split=split,
additional_metadata=additional_metadata,
)

def _build_rtx_episodes_from_tfds_builder(
self,
builder,
split: str = "all",
additional_metadata: Optional[Dict[str, Any]] = dict(),
):
"""
construct the dataset from the tfds builder
Expand Down

0 comments on commit 73f83ec

Please sign in to comment.