Skip to content

Commit

Permalink
Update dependencies and fix dataset loading in dataset_organizer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KeplerC committed Apr 17, 2024
1 parent 8401ef6 commit c6a4768
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN apt-get update && \

COPY . /app
WORKDIR /app
RUN pip install .
RUN pip install .[full]
RUN pip3 install jupyter

COPY . /
Expand Down
13 changes: 9 additions & 4 deletions examples/analytics/dataset_organizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,17 @@
path="~/rtx_datasets",
)

dataset._prepare_rtx_metadata(
# dataset._prepare_rtx_metadata(
# name=dataset_name,
# sample_size = 10,
# shuffle=True,
# )

for dataset_name in DATASETS:
dataset = fog_x.dataset.Dataset(
name=dataset_name,
sample_size = 10,
shuffle=True,
path="~/rtx_datasets",
)

info = dataset.get_episode_info()

for episode_metadata in info.iter_rows(named = True):
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ def read_requirements(path):
entry_points={
"console_scripts": ["fog_x = fog_x.__main__:main"]
},
extras_require={"test": read_requirements("requirements-test.txt")},
extras_require={"full": read_requirements("requirements-full.txt")},
)

0 comments on commit c6a4768

Please sign in to comment.