facebookresearch/maskrcnn-benchmark

ModuleNotFoundError: No module named 'requests'

オープン

#576 opened on 2019/03/18

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)Python (2,574 件のフォーク)batch import
contributions welcomegood first issue

Repository metrics

Stars
 (9,161 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

🐛 Bug

Error when running demo/Mask_R-CNN_demo.ipynb from a docker instance with jupyter:

ModuleNotFoundError: No module named 'requests'

To Reproduce

Steps to reproduce the behavior:

  1. Build image with jupyter as in docs
  2. Run a docker instance of this image simliar as explained in [docs] but using docker instead of nvidia-docker (https://github.com/facebookresearch/maskrcnn-benchmark/blob/master/INSTALL.md).
  3. Run first cell of demo/Mask_R-CNN_demo.ipynb

Expected behavior

Code executed without errors.

Environment

  • CUDA/cuDNN version: 10.0 / 7
  • GPU models and configuration: no GPU

Additional context

Adding the following new line in docker/docker-jupyter/Dockerfile fixes the problem:

RUN pip install requests

コントリビューターガイド