Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ ENV WANDB_API_KEY=${WANDB_API_KEY}
# Install core APT packages.
# -------------------------
ENV DEBIAN_FRONTEND=noninteractive

# avoid GPG error
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub

RUN apt-get update && apt-get install -y \
# essential
build-essential \
Expand Down
4 changes: 2 additions & 2 deletions tridet/visualizers/box3d_visualizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ def visualize(self, x):

# By default, ["forward" of body] == ["right" of BEV image].
# Change it to ["up" of BEV image] by rotating.
viz_image = cv2.rotate(viz_image, cv2.cv2.ROTATE_90_COUNTERCLOCKWISE)
viz_image = cv2.rotate(viz_image, cv2.ROTATE_90_COUNTERCLOCKWISE)
# Crop the BEV image to show only frustum.
viz_image = bev_frustum_crop(viz_image)

Expand Down Expand Up @@ -382,7 +382,7 @@ def visualize(self, x):
)
# By default, ["forward" of body] == ["right" of BEV image].
# Change it to ["up" of BEV image] by rotating.
viz_image = cv2.rotate(viz_image, cv2.cv2.ROTATE_90_COUNTERCLOCKWISE)
viz_image = cv2.rotate(viz_image, cv2.ROTATE_90_COUNTERCLOCKWISE)
# Crop the BEV image to show only frustum.
viz_image = bev_frustum_crop(viz_image)

Expand Down