Skip to content
This repository was archived by the owner on Jun 15, 2021. It is now read-only.

Commit 1cf5c08

Browse files
committed
Add chainercv to dependencies
1 parent aef4425 commit 1cf5c08

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ ChainerPruner: Channel Pruning framework for [Chainer](https://github.com/chaine
99
- requirements:
1010
- Python >= 3.6
1111
- chainer >= 5.1.0
12+
- chainercv
1213
- networkx
1314
- (optional) scipy
1415

15-
1616
```bash
1717
$ pip install git+https://github.com/DeNA/ChainerPruner
1818
```

docker/Dockerfile

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ ENV DEBIAN_FRONTEND=noninteractive
44
ENV LANG C.UTF-8
55
ENV LANGUAGE en_US
66

7+
RUN pip3 install -U pip setuptools
78
RUN pip3 install \
89
networkx \
10+
chainercv \
911
scipy \
1012
chainer_computational_cost
11-
# TODO chainerpruner
13+
14+
RUN pip3 install git+https://github.com/DeNA/ChainerPruner

docker/Dockerfile.dev

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ RUN apt-get update -y && \
1212
COPY ./docker/requirements.txt /tmp/requirements.txt
1313
RUN pip3 install -r /tmp/requirements.txt
1414

15-
#ENV PYTHONPATH /work/:${PYTHONPATH}
16-
#ENV JUPYTER_PATH ${PYTHONPATH}:${JUPYTER_PATH}
15+
ENV PYTHONPATH /work/:${PYTHONPATH}
16+
ENV JUPYTER_PATH ${PYTHONPATH}:${JUPYTER_PATH}

0 commit comments

Comments
 (0)