Skip to content

Commit

Permalink
Update dependencies, add new libraries, and fix dataset loading and m…
Browse files Browse the repository at this point in the history
…etadata preparation
  • Loading branch information
KeplerC committed Apr 17, 2024
1 parent c6a4768 commit 1abe058
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
13 changes: 12 additions & 1 deletion Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,19 @@ FROM ubuntu:latest
RUN apt-get update && \
apt-get install -y python3.9 \
python3-pip \
libgmp-dev
libgmp-dev \
ffmpeg

RUN pip3 install pandas \
polars \
numpy \
tensorflow \
torch \
tensorflow_datasets \
envlogger \
datasets \
pyarrow

COPY . /app
WORKDIR /app
RUN pip install .[full]
Expand Down
10 changes: 5 additions & 5 deletions examples/analytics/dataset_organizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@
path="~/rtx_datasets",
)

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

for dataset_name in DATASETS:
dataset = fog_x.dataset.Dataset(
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ torch
tensorflow
tensorflow_datasets
envlogger
opencv-python

0 comments on commit 1abe058

Please sign in to comment.