Westlake-AI / openmixup

CAIRI Supervised, Semi- and Self-Supervised Visual Representation Learning Toolbox and Benchmark
https://openmixup.readthedocs.io
Apache License 2.0
609 stars 61 forks source link

[Bug] Docker Build Fails #57

Open stsavian opened 10 months ago

stsavian commented 10 months ago

Describe the bug

Dear authors, thanks for this great and comrpehensive work.

I am having troubles replicating the conda environment, thus I have switched to the docker file. Disclaimer, I am a beginner with docker files. The docker image does not build.

[here] My Build command is: sudo docker build -t openmixup

Which leads to:

62.95 Get:11 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [1688 kB]
63.87 Get:22 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [3373 kB]
65.72 Get:23 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1637 kB]
66.05 Reading package lists...
66.76 W: GPG error: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC
66.76 E: The repository 'https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  InRelease' is not signed.
------
Dockerfile:11
--------------------
  10 |     
  11 | >>> RUN apt-get update && apt-get install -y ffmpeg libsm6 libxext6 git ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6 \
  12 | >>>     && apt-get clean \
  13 | >>>     && rm -rf /var/lib/apt/lists/*
  14 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get update && apt-get install -y ffmpeg libsm6 libxext6 git ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6     && apt-get clean     && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 100

Could you help me solve it?

Thanks, Stefano

Lupin1998 commented 9 months ago

Hi, @stsavian, thanks for using Openmixup and sorry for the bug in the Docker environment. We have updated the Docker file and you may try again.