Comments (2)
This seems to be related to the cuda repo key rotation that happened earlier this year. More info here.
I was able to get it to build by adding this line to the docker file, before the apt-get update
line:
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
(after building there are still problems with even the test scripts, I decided not to use this repo in the end)
from mmfashion.
NVIDIA/nvidia-container-toolkit#257
ARG PYTORCH="1.5"
ARG CUDA="10.1"
ARG CUDNN="7"
FROM pytorch/pytorch:1.5-cuda10.1-cudnn7-devel
ENV TORCH_CUDA_ARCH_LIST="6.0 6.1 7.0+PTX"
ENV TORCH_NVCC_FLAGS="-Xfatbin -compress-all"
ENV CMAKE_PREFIX_PATH="$(dirname $(which conda))/../"
RUN rm /etc/apt/sources.list.d/cuda.list
RUN rm /etc/apt/sources.list.d/nvidia-ml.list
RUN apt-get update && apt-get -y dist-upgrade \
&& apt-get install -y git libglib2.0-0 libsm6 libxrender-dev \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Install mmfashion
RUN conda clean --all
RUN git clone --recursive https://github.com/open-mmlab/mmfashion.git /mmfashion
WORKDIR /mmfashion
ENV FORCE_CUDA="1"
RUN pip install -r requirements.txt
RUN pip install --no-cache-dir -e .
from mmfashion.
Related Issues (20)
- Many errors and repo maintenance HOT 4
- Question about Full Body Cloth Image - Attribute Prediction
- Debug
- question about prepare_attr_pred.py HOT 1
- FileNotFoundError: [Errno 2] No such file or directory: 'In-shop/Anno/list_attr_items.txt'
- FileNotFoundError: file "/mmfashion/configs/attribute_predict/global_predictor_vgg_attr.py" does not exist
- TypeError: 'module' object is not callable
- Error when running setup.py HOT 1
- Where can I find the checkpoints to run the demo? HOT 1
- Unable to run demo test_attr_predictor HOT 1
- Attempting to deserialize object on a CUDA device
- GMM model weights in Model Zoo are actually TOM weigths
- Top5-accuracy is not a good metric for this problem.
- No module named 'mmfashion' HOT 1
- missing resnet18 backbone and error for output in test_fashion_recommender.py HOT 1
- Docker build not working, public key not available HOT 1
- Attribute types of dataset HOT 1
- Invalid Model Files
- [Docs] A100算力加持!书生大模型实战营第3期全面升级,趣味闯关模式等你开启
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mmfashion.