Skip to content

Commit a806f3d

Browse files
committed
Install libjpeg and libpng for TorchVision
1 parent 9441003 commit a806f3d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.ci/docker/common/install_base.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@ install_ubuntu() {
2424
gdb \
2525
rsync \
2626
libssl-dev \
27-
zip
27+
zip \
28+
29+
# These libraries are needed by TorchVision to get optimal performance processing images
30+
apt-get install -y --no-install-recommends \
31+
libjpeg-dev \
32+
libpng-dev
2833

2934
# Cleanup package manager
3035
apt-get autoclean && apt-get clean

0 commit comments

Comments
 (0)