File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ ENV LIBRARY_PATH /usr/local/nvidia/lib64:/usr/local/nvidia/lib:/usr/local/cuda/l
2121
2222# python3 modules
2323RUN wget https://bootstrap.pypa.io/get-pip.py && python3 get-pip.py && \
24- pip3 install --upgrade --no-cache-dir wheel six setuptools cython numpy scipy==1.2.0 \
24+ pip3 install --upgrade --no-cache-dir wheel six setuptools cython numpy imageio \
2525 matplotlib seaborn scikit-learn scikit-image pillow requests \
2626 jupyterlab networkx h5py pandas plotly protobuf tqdm tensorboardX colorama setproctitle && \
2727 pip3 install https://download.pytorch.org/whl/cu90/torch-1.0.0-cp35-cp35m-linux_x86_64.whl
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ L1 and L2 losses with multi-scale support are available in [losses.py](./losses.
4848Currently, the code supports python 3
4949* numpy
5050* PyTorch ( == 0.4.1, for <= 0.4.0 see branch [ python36-PyTorch0.4] ( https://github.com/NVIDIA/flownet2-pytorch/tree/python36-PyTorch0.4 ) )
51- * scipy
51+ * imageio
5252* scikit-image
5353* tensorboardX
5454* colorama, tqdm, setproctitle
Original file line number Diff line number Diff line change 88from glob import glob
99import utils .frame_utils as frame_utils
1010
11- from scipy . misc import imread , imresize
11+ from imageio import imread
1212
1313class StaticRandomCrop (object ):
1414 def __init__ (self , image_size , crop_size ):
Original file line number Diff line number Diff line change 11import numpy as np
22from os .path import *
3- from scipy . misc import imread
3+ from imageio import imread
44from . import flow_utils
55
66def read_gen (file_name ):
You can’t perform that action at this time.
0 commit comments