models
models copied to clipboard
Fix #10648
Fix GPG Nvidia key
Description
Fix the issue #10648 for gpg no longer available
Type of change
Bug Fix
Note: Please delete options that are not relevant.
- [x] Bug fix (non-breaking change which fixes an issue)
Tests
Test Configuration:
Checklist
- [x] I have signed the Contributor License Agreement.
- [x] I have read guidelines for pull request.
- [x] My code follows the coding guidelines.
- [x] I have performed a self code review of my own code.
- [x] I have commented my code, particularly in hard-to-understand areas.
- [x] I have made corresponding changes to the documentation.
- [x] My changes generate no new warnings.
- [x] I have added tests that prove my fix is effective or that my feature works.
Works for me. Thank you.
The issue is also happening when building the tf1 image models/research/object_detection/dockerfiles/tf1/Dockerfile
.
Both base images tensorflow:tensorflow:2.2.0-gpu
and tensorflow/tensorflow:1.15.2-gpu-py3
are running on ubuntu 18.04. So according to this comment https://github.com/NVIDIA/nvidia-container-toolkit/issues/258, a better fix would be :
RUN rm /etc/apt/sources.list.d/cuda.list
RUN rm /etc/apt/sources.list.d/nvidia-ml.list
RUN apt-key del 7fa2af80
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/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub