Skip to content

Instantly share code, notes, and snippets.

@ilkarman
Created October 5, 2020 12:29
Show Gist options
  • Save ilkarman/0b6ae9038641328afc297d28217ede33 to your computer and use it in GitHub Desktop.
Save ilkarman/0b6ae9038641328afc297d28217ede33 to your computer and use it in GitHub Desktop.
Step 36/51 : RUN git clone --recursive https://github.com/pytorch/vision && cd vision && git submodule sync && git submodule update --init --recursive && export TORCH_CUDA_ARCH_LIST="3.5 5.2 6.0 6.1 7.0+PTX" && export TORCH_NVCC_FLAGS="-Xfatbin -compress-all" && export CMAKE_PREFIX_PATH="$(dirname $(which conda))/../" && python setup.py clean && python setup.py install
---> Running in 2ee1554613dc
Cloning into 'vision'...
No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda'
/opt/conda/lib/python3.6/site-packages/torch/cuda/__init__.py:52: UserWarning: CUDA initialization: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx (Triggered internally at ../c10/cuda/CUDAFunctions.cpp:100.)
return torch._C._cuda_getDeviceCount() > 0
Building wheel torchvision-0.8.0a0+588f7ae
PNG found: True
libpng version: 1.2.54
libpng installed version is less than 1.6.0, disabling PNG support
Running build on conda-build: False
Running build on conda: True
JPEG found: True
Building torchvision with JPEG image support
FFmpeg found: True
ffmpeg include path: /usr/include
running clean
No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda'
/opt/conda/lib/python3.6/site-packages/torch/cuda/__init__.py:52: UserWarning: CUDA initialization: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx (Triggered internally at ../c10/cuda/CUDAFunctions.cpp:100.)
return torch._C._cuda_getDeviceCount() > 0
Building wheel torchvision-0.8.0a0+588f7ae
PNG found: True
libpng version: 1.2.54
libpng installed version is less than 1.6.0, disabling PNG support
Running build on conda-build: False
Running build on conda: True
JPEG found: True
Building torchvision with JPEG image support
FFmpeg found: True
ffmpeg include path: /usr/include
running install
running bdist_egg
running egg_info
creating torchvision.egg-info
writing torchvision.egg-info/PKG-INFO
writing dependency_links to torchvision.egg-info/dependency_links.txt
writing requirements to torchvision.egg-info/requires.txt
writing top-level names to torchvision.egg-info/top_level.txt
writing manifest file 'torchvision.egg-info/SOURCES.txt'
reading manifest file 'torchvision.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '__pycache__' found under directory '*'
warning: no previously-included files matching '*.py[co]' found under directory '*'
writing manifest file 'torchvision.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/torchvision
copying torchvision/extension.py -> build/lib.linux-x86_64-3.6/torchvision
copying torchvision/version.py -> build/lib.linux-x86_64-3.6/torchvision
copying torchvision/__init__.py -> build/lib.linux-x86_64-3.6/torchvision
copying torchvision/utils.py -> build/lib.linux-x86_64-3.6/torchvision
creating build/lib.linux-x86_64-3.6/torchvision/datasets
copying torchvision/datasets/cityscapes.py -> build/lib.linux-x86_64-3.6/torchvision/datasets
copying torchvision/datasets/video_utils.py -> build/lib.linux-x86_64-3.6/torchvision/datasets
copying torchvision/datasets/semeion.py -> build/lib.linux-x86_64-3.6/torchvision/datasets
copying torchvision/datasets/omniglot.py -> build/lib.linux-x86_64-3.6/torchvision/datasets
copying torchvision/datasets/usps.py -> build/lib.linux-x86_64-3.6/torchvision/datasets
copying torchvision/datasets/vision.py -> build/lib.linux-x86_64-3.6/torchvision/datasets
copying torchvision/datasets/hmdb51.py -> build/lib.linux-x86_64-3.6/torchvision/datasets
copying torchvision/datasets/voc.py -> build/lib.linux-x86_64-3.6/torchvision/datasets
copying torchvision/datasets/sbd.py -> build/lib.linux-x86_64-3.6/torchvision/datasets
copying torchvision/datasets/lsun.py -> build/lib.linux-x86_64-3.6/torchvision/datasets
copying torchvision/datasets/caltech.py -> build/lib.linux-x86_64-3.6/torchvision/datasets
copying torchvision/datasets/ucf101.py -> build/lib.linux-x86_64-3.6/torchvision/datasets
copying torchvision/datasets/places365.py -> build/lib.linux-x86_64-3.6/torchvision/datasets
copying torchvision/datasets/flickr.py -> build/lib.linux-x86_64-3.6/torchvision/datasets
copying torchvision/datasets/imagenet.py -> build/lib.linux-x86_64-3.6/torchvision/datasets
copying torchvision/datasets/svhn.py -> build/lib.linux-x86_64-3.6/torchvision/datasets
copying torchvision/datasets/sbu.py -> build/lib.linux-x86_64-3.6/torchvision/datasets
copying torchvision/datasets/kinetics.py -> build/lib.linux-x86_64-3.6/torchvision/datasets
copying torchvision/datasets/__init__.py -> build/lib.linux-x86_64-3.6/torchvision/datasets
copying torchvision/datasets/celeba.py -> build/lib.linux-x86_64-3.6/torchvision/datasets
copying torchvision/datasets/coco.py -> build/lib.linux-x86_64-3.6/torchvision/datasets
copying torchvision/datasets/utils.py -> build/lib.linux-x86_64-3.6/torchvision/datasets
copying torchvision/datasets/stl10.py -> build/lib.linux-x86_64-3.6/torchvision/datasets
copying torchvision/datasets/fakedata.py -> build/lib.linux-x86_64-3.6/torchvision/datasets
copying torchvision/datasets/cifar.py -> build/lib.linux-x86_64-3.6/torchvision/datasets
copying torchvision/datasets/phototour.py -> build/lib.linux-x86_64-3.6/torchvision/datasets
copying torchvision/datasets/mnist.py -> build/lib.linux-x86_64-3.6/torchvision/datasets
copying torchvision/datasets/folder.py -> build/lib.linux-x86_64-3.6/torchvision/datasets
creating build/lib.linux-x86_64-3.6/torchvision/models
copying torchvision/models/densenet.py -> build/lib.linux-x86_64-3.6/torchvision/models
copying torchvision/models/_utils.py -> build/lib.linux-x86_64-3.6/torchvision/models
copying torchvision/models/googlenet.py -> build/lib.linux-x86_64-3.6/torchvision/models
copying torchvision/models/mnasnet.py -> build/lib.linux-x86_64-3.6/torchvision/models
copying torchvision/models/alexnet.py -> build/lib.linux-x86_64-3.6/torchvision/models
copying torchvision/models/resnet.py -> build/lib.linux-x86_64-3.6/torchvision/models
copying torchvision/models/vgg.py -> build/lib.linux-x86_64-3.6/torchvision/models
copying torchvision/models/shufflenetv2.py -> build/lib.linux-x86_64-3.6/torchvision/models
copying torchvision/models/__init__.py -> build/lib.linux-x86_64-3.6/torchvision/models
copying torchvision/models/utils.py -> build/lib.linux-x86_64-3.6/torchvision/models
copying torchvision/models/squeezenet.py -> build/lib.linux-x86_64-3.6/torchvision/models
copying torchvision/models/inception.py -> build/lib.linux-x86_64-3.6/torchvision/models
copying torchvision/models/mobilenet.py -> build/lib.linux-x86_64-3.6/torchvision/models
creating build/lib.linux-x86_64-3.6/torchvision/io
copying torchvision/io/__init__.py -> build/lib.linux-x86_64-3.6/torchvision/io
copying torchvision/io/image.py -> build/lib.linux-x86_64-3.6/torchvision/io
copying torchvision/io/_video_opt.py -> build/lib.linux-x86_64-3.6/torchvision/io
copying torchvision/io/video.py -> build/lib.linux-x86_64-3.6/torchvision/io
creating build/lib.linux-x86_64-3.6/torchvision/ops
copying torchvision/ops/poolers.py -> build/lib.linux-x86_64-3.6/torchvision/ops
copying torchvision/ops/ps_roi_pool.py -> build/lib.linux-x86_64-3.6/torchvision/ops
copying torchvision/ops/_utils.py -> build/lib.linux-x86_64-3.6/torchvision/ops
copying torchvision/ops/ps_roi_align.py -> build/lib.linux-x86_64-3.6/torchvision/ops
copying torchvision/ops/feature_pyramid_network.py -> build/lib.linux-x86_64-3.6/torchvision/ops
copying torchvision/ops/misc.py -> build/lib.linux-x86_64-3.6/torchvision/ops
copying torchvision/ops/roi_pool.py -> build/lib.linux-x86_64-3.6/torchvision/ops
copying torchvision/ops/__init__.py -> build/lib.linux-x86_64-3.6/torchvision/ops
copying torchvision/ops/new_empty_tensor.py -> build/lib.linux-x86_64-3.6/torchvision/ops
copying torchvision/ops/boxes.py -> build/lib.linux-x86_64-3.6/torchvision/ops
copying torchvision/ops/_box_convert.py -> build/lib.linux-x86_64-3.6/torchvision/ops
copying torchvision/ops/_register_onnx_ops.py -> build/lib.linux-x86_64-3.6/torchvision/ops
copying torchvision/ops/deform_conv.py -> build/lib.linux-x86_64-3.6/torchvision/ops
copying torchvision/ops/roi_align.py -> build/lib.linux-x86_64-3.6/torchvision/ops
creating build/lib.linux-x86_64-3.6/torchvision/transforms
copying torchvision/transforms/transforms.py -> build/lib.linux-x86_64-3.6/torchvision/transforms
copying torchvision/transforms/functional_tensor.py -> build/lib.linux-x86_64-3.6/torchvision/transforms
copying torchvision/transforms/__init__.py -> build/lib.linux-x86_64-3.6/torchvision/transforms
copying torchvision/transforms/_transforms_video.py -> build/lib.linux-x86_64-3.6/torchvision/transforms
copying torchvision/transforms/_functional_video.py -> build/lib.linux-x86_64-3.6/torchvision/transforms
copying torchvision/transforms/functional.py -> build/lib.linux-x86_64-3.6/torchvision/transforms
copying torchvision/transforms/functional_pil.py -> build/lib.linux-x86_64-3.6/torchvision/transforms
creating build/lib.linux-x86_64-3.6/torchvision/datasets/samplers
copying torchvision/datasets/samplers/__init__.py -> build/lib.linux-x86_64-3.6/torchvision/datasets/samplers
copying torchvision/datasets/samplers/clip_sampler.py -> build/lib.linux-x86_64-3.6/torchvision/datasets/samplers
creating build/lib.linux-x86_64-3.6/torchvision/models/quantization
copying torchvision/models/quantization/googlenet.py -> build/lib.linux-x86_64-3.6/torchvision/models/quantization
copying torchvision/models/quantization/resnet.py -> build/lib.linux-x86_64-3.6/torchvision/models/quantization
copying torchvision/models/quantization/shufflenetv2.py -> build/lib.linux-x86_64-3.6/torchvision/models/quantization
copying torchvision/models/quantization/__init__.py -> build/lib.linux-x86_64-3.6/torchvision/models/quantization
copying torchvision/models/quantization/utils.py -> build/lib.linux-x86_64-3.6/torchvision/models/quantization
copying torchvision/models/quantization/inception.py -> build/lib.linux-x86_64-3.6/torchvision/models/quantization
copying torchvision/models/quantization/mobilenet.py -> build/lib.linux-x86_64-3.6/torchvision/models/quantization
creating build/lib.linux-x86_64-3.6/torchvision/models/segmentation
copying torchvision/models/segmentation/fcn.py -> build/lib.linux-x86_64-3.6/torchvision/models/segmentation
copying torchvision/models/segmentation/segmentation.py -> build/lib.linux-x86_64-3.6/torchvision/models/segmentation
copying torchvision/models/segmentation/deeplabv3.py -> build/lib.linux-x86_64-3.6/torchvision/models/segmentation
copying torchvision/models/segmentation/_utils.py -> build/lib.linux-x86_64-3.6/torchvision/models/segmentation
copying torchvision/models/segmentation/__init__.py -> build/lib.linux-x86_64-3.6/torchvision/models/segmentation
creating build/lib.linux-x86_64-3.6/torchvision/models/detection
copying torchvision/models/detection/image_list.py -> build/lib.linux-x86_64-3.6/torchvision/models/detection
copying torchvision/models/detection/roi_heads.py -> build/lib.linux-x86_64-3.6/torchvision/models/detection
copying torchvision/models/detection/generalized_rcnn.py -> build/lib.linux-x86_64-3.6/torchvision/models/detection
copying torchvision/models/detection/transform.py -> build/lib.linux-x86_64-3.6/torchvision/models/detection
copying torchvision/models/detection/backbone_utils.py -> build/lib.linux-x86_64-3.6/torchvision/models/detection
copying torchvision/models/detection/rpn.py -> build/lib.linux-x86_64-3.6/torchvision/models/detection
copying torchvision/models/detection/_utils.py -> build/lib.linux-x86_64-3.6/torchvision/models/detection
copying torchvision/models/detection/mask_rcnn.py -> build/lib.linux-x86_64-3.6/torchvision/models/detection
copying torchvision/models/detection/faster_rcnn.py -> build/lib.linux-x86_64-3.6/torchvision/models/detection
copying torchvision/models/detection/__init__.py -> build/lib.linux-x86_64-3.6/torchvision/models/detection
copying torchvision/models/detection/keypoint_rcnn.py -> build/lib.linux-x86_64-3.6/torchvision/models/detection
creating build/lib.linux-x86_64-3.6/torchvision/models/video
copying torchvision/models/video/resnet.py -> build/lib.linux-x86_64-3.6/torchvision/models/video
copying torchvision/models/video/__init__.py -> build/lib.linux-x86_64-3.6/torchvision/models/video
running build_ext
building 'torchvision._C' extension
creating /vision/build/temp.linux-x86_64-3.6
creating /vision/build/temp.linux-x86_64-3.6/vision
creating /vision/build/temp.linux-x86_64-3.6/vision/torchvision
creating /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc
creating /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu
Emitting ninja build file /vision/build/temp.linux-x86_64-3.6/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/7] c++ -MMD -MF /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/ROIPool_cpu.o.d -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/vision/torchvision/csrc -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c -c /vision/torchvision/csrc/cpu/ROIPool_cpu.cpp -o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/ROIPool_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
from /opt/conda/lib/python3.6/site-packages/torch/include/TH/THTensorApply.h:4,
from /opt/conda/lib/python3.6/site-packages/torch/include/TH/THTensor.h:5,
from /opt/conda/lib/python3.6/site-packages/torch/include/TH/TH.h:13,
from /vision/torchvision/csrc/cpu/ROIPool_cpu.cpp:3:
/opt/conda/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if ((end - begin) >= grain_size)
^
[2/7] c++ -MMD -MF /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/PSROIPool_cpu.o.d -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/vision/torchvision/csrc -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c -c /vision/torchvision/csrc/cpu/PSROIPool_cpu.cpp -o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/PSROIPool_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
from /opt/conda/lib/python3.6/site-packages/torch/include/TH/THTensorApply.h:4,
from /opt/conda/lib/python3.6/site-packages/torch/include/TH/THTensor.h:5,
from /opt/conda/lib/python3.6/site-packages/torch/include/TH/TH.h:13,
from /vision/torchvision/csrc/cpu/PSROIPool_cpu.cpp:3:
/opt/conda/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if ((end - begin) >= grain_size)
^
[3/7] c++ -MMD -MF /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/DeformConv_cpu.o.d -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/vision/torchvision/csrc -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c -c /vision/torchvision/csrc/cpu/DeformConv_cpu.cpp -o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/DeformConv_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
from /opt/conda/lib/python3.6/site-packages/torch/include/TH/THTensorApply.h:4,
from /opt/conda/lib/python3.6/site-packages/torch/include/TH/THTensor.h:5,
from /opt/conda/lib/python3.6/site-packages/torch/include/TH/TH.h:13,
from /vision/torchvision/csrc/cpu/DeformConv_cpu.cpp:71:
/opt/conda/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if ((end - begin) >= grain_size)
^
[4/7] c++ -MMD -MF /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/PSROIAlign_cpu.o.d -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/vision/torchvision/csrc -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c -c /vision/torchvision/csrc/cpu/PSROIAlign_cpu.cpp -o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/PSROIAlign_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
from /opt/conda/lib/python3.6/site-packages/torch/include/TH/THTensorApply.h:4,
from /opt/conda/lib/python3.6/site-packages/torch/include/TH/THTensor.h:5,
from /opt/conda/lib/python3.6/site-packages/torch/include/TH/TH.h:13,
from /vision/torchvision/csrc/cpu/PSROIAlign_cpu.cpp:3:
/opt/conda/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if ((end - begin) >= grain_size)
^
[5/7] c++ -MMD -MF /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/nms_cpu.o.d -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/vision/torchvision/csrc -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c -c /vision/torchvision/csrc/cpu/nms_cpu.cpp -o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/nms_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:12,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
from /vision/torchvision/csrc/cpu/vision_cpu.h:2,
from /vision/torchvision/csrc/cpu/nms_cpu.cpp:1:
/opt/conda/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if ((end - begin) >= grain_size)
^
[6/7] c++ -MMD -MF /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/ROIAlign_cpu.o.d -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/vision/torchvision/csrc -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c -c /vision/torchvision/csrc/cpu/ROIAlign_cpu.cpp -o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/ROIAlign_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:12,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
from /vision/torchvision/csrc/cpu/vision_cpu.h:2,
from /vision/torchvision/csrc/cpu/ROIAlign_cpu.cpp:2:
/opt/conda/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if ((end - begin) >= grain_size)
^
[7/7] c++ -MMD -MF /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/vision.o.d -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/vision/torchvision/csrc -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c -c /vision/torchvision/csrc/vision.cpp -o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/vision.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:12,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
from /vision/torchvision/csrc/cpu/vision_cpu.h:2,
from /vision/torchvision/csrc/DeformConv.h:3,
from /vision/torchvision/csrc/vision.cpp:11:
/opt/conda/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if ((end - begin) >= grain_size)
^
In file included from /opt/conda/lib/python3.6/site-packages/torch/include/ATen/core/boxing/KernelFunction_impl.h:2:0,
from /opt/conda/lib/python3.6/site-packages/torch/include/ATen/core/boxing/KernelFunction.h:239,
from /opt/conda/lib/python3.6/site-packages/torch/include/ATen/core/dispatch/Dispatcher.h:4,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/jit/runtime/operator.h:6,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/jit/ir/ir.h:7,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/jit/api/function_impl.h:4,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/jit/api/method.h:5,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/jit/api/object.h:5,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/jit/frontend/tracer.h:9,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/autograd/generated/variable_factories.h:12,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:7,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/script.h:3,
from /vision/torchvision/csrc/vision.cpp:2:
/opt/conda/lib/python3.6/site-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h: In instantiation of ‘std::decay_t<typename c10::guts::infer_function_traits<Functor>::type::return_type> c10::impl::call_functor_with_args_from_stack_(Functor*, c10::Stack*, std::index_sequence<INDEX ...>) [with Functor = c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<long int (*)(), long int, c10::guts::typelist::typelist<> >; bool AllowDeprecatedTypes = false; long unsigned int ...ivalue_arg_indices = {}; std::decay_t<typename c10::guts::infer_function_traits<Functor>::type::return_type> = long int; c10::Stack = std::vector<c10::IValue>; std::index_sequence<INDEX ...> = std::integer_sequence<long unsigned int>]’:
/opt/conda/lib/python3.6/site-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:346:77: required from ‘std::decay_t<typename c10::guts::infer_function_traits<Functor>::type::return_type> c10::impl::call_functor_with_args_from_stack(Functor*, c10::Stack*) [with Functor = c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<long int (*)(), long int, c10::guts::typelist::typelist<> >; bool AllowDeprecatedTypes = false; std::decay_t<typename c10::guts::infer_function_traits<Functor>::type::return_type> = long int; c10::Stack = std::vector<c10::IValue>]’
/opt/conda/lib/python3.6/site-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:396:79: required from ‘c10::impl::make_boxed_from_unboxed_functor<KernelFunctor, AllowDeprecatedTypes>::call(c10::OperatorKernel*, const c10::OperatorHandle&, c10::Stack*)::<lambda()> [with KernelFunctor = c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<long int (*)(), long int, c10::guts::typelist::typelist<> >; bool AllowDeprecatedTypes = false]’
/opt/conda/lib/python3.6/site-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:396:90: required from ‘struct c10::impl::make_boxed_from_unboxed_functor<KernelFunctor, AllowDeprecatedTypes>::call(c10::OperatorKernel*, const c10::OperatorHandle&, c10::Stack*) [with KernelFunctor = c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<long int (*)(), long int, c10::guts::typelist::typelist<> >; bool AllowDeprecatedTypes = false; c10::Stack = std::vector<c10::IValue>]::<lambda()>’
/opt/conda/lib/python3.6/site-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:388:38: required from ‘static void c10::impl::make_boxed_from_unboxed_functor<KernelFunctor, AllowDeprecatedTypes>::call(c10::OperatorKernel*, const c10::OperatorHandle&, c10::Stack*) [with KernelFunctor = c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<long int (*)(), long int, c10::guts::typelist::typelist<> >; bool AllowDeprecatedTypes = false; c10::Stack = std::vector<c10::IValue>]’
/opt/conda/lib/python3.6/site-packages/torch/include/ATen/core/boxing/KernelFunction_impl.h:109:9: required from ‘static c10::KernelFunction c10::KernelFunction::makeFromUnboxedFunctor(std::unique_ptr<c10::OperatorKernel>) [with bool AllowLegacyTypes = false; KernelFunctor = c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<long int (*)(), long int, c10::guts::typelist::typelist<> >]’
/opt/conda/lib/python3.6/site-packages/torch/include/ATen/core/boxing/KernelFunction_impl.h:159:114: required from ‘static c10::KernelFunction c10::KernelFunction::makeFromUnboxedRuntimeFunction(FuncType*) [with bool AllowLegacyTypes = false; FuncType = long int()]’
/opt/conda/lib/python3.6/site-packages/torch/include/torch/library.h:92:64: required from ‘torch::CppFunction::CppFunction(Func*, std::enable_if_t<c10::guts::is_function_type<FuncType_>::value, std::nullptr_t>) [with Func = long int(); std::enable_if_t<c10::guts::is_function_type<FuncType_>::value, std::nullptr_t> = std::nullptr_t]’
/opt/conda/lib/python3.6/site-packages/torch/include/torch/library.h:457:44: required from ‘torch::Library& torch::Library::def(NameOrSchema&&, Func&&) & [with NameOrSchema = const char (&)[14]; Func = long int (*)()]’
/vision/torchvision/csrc/vision.cpp:56:40: required from here
/opt/conda/lib/python3.6/site-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:326:22: warning: variable ‘num_ivalue_args’ set but not used [-Wunused-but-set-variable]
constexpr size_t num_ivalue_args = sizeof...(ivalue_arg_indices);
^
g++ -pthread -shared -B /opt/conda/compiler_compat -L/opt/conda/lib -Wl,-rpath=/opt/conda/lib -Wl,--no-as-needed -Wl,--sysroot=/ /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/vision.o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/PSROIAlign_cpu.o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/nms_cpu.o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/ROIAlign_cpu.o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/ROIPool_cpu.o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/DeformConv_cpu.o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/PSROIPool_cpu.o -L/opt/conda/lib/python3.6/site-packages/torch/lib -lc10 -ltorch -ltorch_cpu -ltorch_python -o build/lib.linux-x86_64-3.6/torchvision/_C.so
building 'torchvision.image' extension
creating /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/image
Emitting ninja build file /vision/build/temp.linux-x86_64-3.6/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/7] c++ -MMD -MF /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/image/jpegcommon.o.d -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPNG_FOUND=0 -DJPEG_FOUND=1 -I/vision/torchvision/csrc -I/vision/torchvision/csrc -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/vision/torchvision/csrc/cpu/image -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c -c /vision/torchvision/csrc/cpu/image/jpegcommon.cpp -o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/image/jpegcommon.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=image -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[2/7] c++ -MMD -MF /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/image/writepng_cpu.o.d -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPNG_FOUND=0 -DJPEG_FOUND=1 -I/vision/torchvision/csrc -I/vision/torchvision/csrc -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/vision/torchvision/csrc/cpu/image -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c -c /vision/torchvision/csrc/cpu/image/writepng_cpu.cpp -o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/image/writepng_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=image -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:12,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /vision/torchvision/csrc/cpu/image/writejpeg_cpu.h:3,
from /vision/torchvision/csrc/cpu/image/writepng_cpu.cpp:1:
/opt/conda/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if ((end - begin) >= grain_size)
^
[3/7] c++ -MMD -MF /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/image/readpng_cpu.o.d -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPNG_FOUND=0 -DJPEG_FOUND=1 -I/vision/torchvision/csrc -I/vision/torchvision/csrc -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/vision/torchvision/csrc/cpu/image -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c -c /vision/torchvision/csrc/cpu/image/readpng_cpu.cpp -o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/image/readpng_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=image -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:12,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /vision/torchvision/csrc/cpu/image/readpng_cpu.h:4,
from /vision/torchvision/csrc/cpu/image/readpng_cpu.cpp:1:
/opt/conda/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if ((end - begin) >= grain_size)
^
[4/7] c++ -MMD -MF /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/image/read_image_cpu.o.d -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPNG_FOUND=0 -DJPEG_FOUND=1 -I/vision/torchvision/csrc -I/vision/torchvision/csrc -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/vision/torchvision/csrc/cpu/image -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c -c /vision/torchvision/csrc/cpu/image/read_image_cpu.cpp -o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/image/read_image_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=image -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:12,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /vision/torchvision/csrc/cpu/image/readjpeg_cpu.h:3,
from /vision/torchvision/csrc/cpu/image/read_image_cpu.h:3,
from /vision/torchvision/csrc/cpu/image/read_image_cpu.cpp:1:
/opt/conda/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if ((end - begin) >= grain_size)
^
[5/7] c++ -MMD -MF /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/image/writejpeg_cpu.o.d -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPNG_FOUND=0 -DJPEG_FOUND=1 -I/vision/torchvision/csrc -I/vision/torchvision/csrc -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/vision/torchvision/csrc/cpu/image -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c -c /vision/torchvision/csrc/cpu/image/writejpeg_cpu.cpp -o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/image/writejpeg_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=image -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:12,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /vision/torchvision/csrc/cpu/image/writejpeg_cpu.h:3,
from /vision/torchvision/csrc/cpu/image/writejpeg_cpu.cpp:1:
/opt/conda/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if ((end - begin) >= grain_size)
^
[6/7] c++ -MMD -MF /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/image/readjpeg_cpu.o.d -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPNG_FOUND=0 -DJPEG_FOUND=1 -I/vision/torchvision/csrc -I/vision/torchvision/csrc -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/vision/torchvision/csrc/cpu/image -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c -c /vision/torchvision/csrc/cpu/image/readjpeg_cpu.cpp -o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/image/readjpeg_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=image -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:12,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /vision/torchvision/csrc/cpu/image/readjpeg_cpu.h:3,
from /vision/torchvision/csrc/cpu/image/readjpeg_cpu.cpp:1:
/opt/conda/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if ((end - begin) >= grain_size)
^
/vision/torchvision/csrc/cpu/image/readjpeg_cpu.cpp: In function ‘void torch_jpeg_skip_input_data(j_decompress_ptr, long int)’:
/vision/torchvision/csrc/cpu/image/readjpeg_cpu.cpp:39:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (src->pub.bytes_in_buffer < num_bytes) {
^
[7/7] c++ -MMD -MF /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/image/image.o.d -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPNG_FOUND=0 -DJPEG_FOUND=1 -I/vision/torchvision/csrc -I/vision/torchvision/csrc -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/vision/torchvision/csrc/cpu/image -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c -c /vision/torchvision/csrc/cpu/image/image.cpp -o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/image/image.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=image -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Parallel.h:149:0,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:12,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /vision/torchvision/csrc/cpu/image/image.h:5,
from /vision/torchvision/csrc/cpu/image/image.cpp:2:
/opt/conda/lib/python3.6/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if ((end - begin) >= grain_size)
^
g++ -pthread -shared -B /opt/conda/compiler_compat -L/opt/conda/lib -Wl,-rpath=/opt/conda/lib -Wl,--no-as-needed -Wl,--sysroot=/ /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/image/read_image_cpu.o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/image/writepng_cpu.o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/image/readpng_cpu.o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/image/image.o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/image/jpegcommon.o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/image/writejpeg_cpu.o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/image/readjpeg_cpu.o -L/opt/conda/lib/python3.6/site-packages/torch/lib -ljpeg -lc10 -ltorch -ltorch_cpu -ltorch_python -o build/lib.linux-x86_64-3.6/torchvision/image.so
building 'torchvision.video_reader' extension
creating /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/video_reader
creating /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/decoder
Emitting ninja build file /vision/build/temp.linux-x86_64-3.6/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/15] c++ -MMD -MF /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/decoder/cc_stream.o.d -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/vision/torchvision/csrc/cpu/decoder -I/vision/torchvision/csrc/cpu/video_reader -I/usr/include -I/vision/torchvision/csrc -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c -c /vision/torchvision/csrc/cpu/decoder/cc_stream.cpp -o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/decoder/cc_stream.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=video_reader -D_GLIBCXX_USE_CXX11_ABI=1
FAILED: /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/decoder/cc_stream.o
c++ -MMD -MF /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/decoder/cc_stream.o.d -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/vision/torchvision/csrc/cpu/decoder -I/vision/torchvision/csrc/cpu/video_reader -I/usr/include -I/vision/torchvision/csrc -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c -c /vision/torchvision/csrc/cpu/decoder/cc_stream.cpp -o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/decoder/cc_stream.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=video_reader -D_GLIBCXX_USE_CXX11_ABI=1
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /vision/torchvision/csrc/cpu/decoder/subtitle_stream.h:3:0,
from /vision/torchvision/csrc/cpu/decoder/cc_stream.h:3,
from /vision/torchvision/csrc/cpu/decoder/cc_stream.cpp:1:
/vision/torchvision/csrc/cpu/decoder/stream.h:52:30: error: ‘findCodec’ declared as a ‘virtual’ field
virtual AVCodec* findCodec(AVCodecParameters* params);
^
/vision/torchvision/csrc/cpu/decoder/stream.h:52:20: error: expected ‘;’ at end of member declaration
virtual AVCodec* findCodec(AVCodecParameters* params);
^
/vision/torchvision/csrc/cpu/decoder/stream.h:52:47: error: expected ‘)’ before ‘*’ token
virtual AVCodec* findCodec(AVCodecParameters* params);
^
In file included from /vision/torchvision/csrc/cpu/decoder/cc_stream.cpp:1:0:
/vision/torchvision/csrc/cpu/decoder/cc_stream.h:19:12: error: expected ‘;’ at end of member declaration
AVCodec* findCodec(AVCodecParameters* params) override;
^
/vision/torchvision/csrc/cpu/decoder/cc_stream.h:19:39: error: expected ‘)’ before ‘*’ token
AVCodec* findCodec(AVCodecParameters* params) override;
^
/vision/torchvision/csrc/cpu/decoder/cc_stream.cpp:14:30: error: ‘AVCodec* ffmpeg::CCStream::findCodec’ is not a static data member of ‘class ffmpeg::CCStream’
AVCodec* CCStream::findCodec(AVCodecParameters* params) {
^
/vision/torchvision/csrc/cpu/decoder/cc_stream.cpp:14:30: error: ‘AVCodecParameters’ was not declared in this scope
/vision/torchvision/csrc/cpu/decoder/cc_stream.cpp:14:49: error: ‘params’ was not declared in this scope
AVCodec* CCStream::findCodec(AVCodecParameters* params) {
^
/vision/torchvision/csrc/cpu/decoder/cc_stream.cpp:14:57: error: expected ‘,’ or ‘;’ before ‘{’ token
AVCodec* CCStream::findCodec(AVCodecParameters* params) {
^
/vision/torchvision/csrc/cpu/decoder/cc_stream.cpp:24:1: error: expected ‘}’ at end of input
} // namespace ffmpeg
^
[2/15] c++ -MMD -MF /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/decoder/time_keeper.o.d -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/vision/torchvision/csrc/cpu/decoder -I/vision/torchvision/csrc/cpu/video_reader -I/usr/include -I/vision/torchvision/csrc -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c -c /vision/torchvision/csrc/cpu/decoder/time_keeper.cpp -o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/decoder/time_keeper.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=video_reader -D_GLIBCXX_USE_CXX11_ABI=1
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[3/15] c++ -MMD -MF /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/decoder/video_stream.o.d -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/vision/torchvision/csrc/cpu/decoder -I/vision/torchvision/csrc/cpu/video_reader -I/usr/include -I/vision/torchvision/csrc -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c -c /vision/torchvision/csrc/cpu/decoder/video_stream.cpp -o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/decoder/video_stream.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=video_reader -D_GLIBCXX_USE_CXX11_ABI=1
FAILED: /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/decoder/video_stream.o
c++ -MMD -MF /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/decoder/video_stream.o.d -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/vision/torchvision/csrc/cpu/decoder -I/vision/torchvision/csrc/cpu/video_reader -I/usr/include -I/vision/torchvision/csrc -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c -c /vision/torchvision/csrc/cpu/decoder/video_stream.cpp -o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/decoder/video_stream.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=video_reader -D_GLIBCXX_USE_CXX11_ABI=1
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /vision/torchvision/csrc/cpu/decoder/video_stream.h:3:0,
from /vision/torchvision/csrc/cpu/decoder/video_stream.cpp:1:
/vision/torchvision/csrc/cpu/decoder/stream.h:52:30: error: ‘findCodec’ declared as a ‘virtual’ field
virtual AVCodec* findCodec(AVCodecParameters* params);
^
/vision/torchvision/csrc/cpu/decoder/stream.h:52:20: error: expected ‘;’ at end of member declaration
virtual AVCodec* findCodec(AVCodecParameters* params);
^
/vision/torchvision/csrc/cpu/decoder/stream.h:52:47: error: expected ‘)’ before ‘*’ token
virtual AVCodec* findCodec(AVCodecParameters* params);
^
/vision/torchvision/csrc/cpu/decoder/video_stream.cpp: In function ‘bool ffmpeg::{anonymous}::operator==(const ffmpeg::VideoFormat&, const AVFrame&)’:
/vision/torchvision/csrc/cpu/decoder/video_stream.cpp:9:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return x.width == y.width && x.height == y.height && x.format == y.format;
^
/vision/torchvision/csrc/cpu/decoder/video_stream.cpp:9:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return x.width == y.width && x.height == y.height && x.format == y.format;
^
/vision/torchvision/csrc/cpu/decoder/video_stream.cpp: In function ‘bool ffmpeg::{anonymous}::operator==(const ffmpeg::VideoFormat&, const AVCodecContext&)’:
/vision/torchvision/csrc/cpu/decoder/video_stream.cpp:13:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return x.width == y.width && x.height == y.height && x.format == y.pix_fmt;
^
/vision/torchvision/csrc/cpu/decoder/video_stream.cpp:13:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return x.width == y.width && x.height == y.height && x.format == y.pix_fmt;
^
[4/15] c++ -MMD -MF /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/decoder/audio_stream.o.d -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/vision/torchvision/csrc/cpu/decoder -I/vision/torchvision/csrc/cpu/video_reader -I/usr/include -I/vision/torchvision/csrc -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c -c /vision/torchvision/csrc/cpu/decoder/audio_stream.cpp -o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/decoder/audio_stream.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=video_reader -D_GLIBCXX_USE_CXX11_ABI=1
FAILED: /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/decoder/audio_stream.o
c++ -MMD -MF /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/decoder/audio_stream.o.d -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/vision/torchvision/csrc/cpu/decoder -I/vision/torchvision/csrc/cpu/video_reader -I/usr/include -I/vision/torchvision/csrc -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c -c /vision/torchvision/csrc/cpu/decoder/audio_stream.cpp -o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/decoder/audio_stream.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=video_reader -D_GLIBCXX_USE_CXX11_ABI=1
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /vision/torchvision/csrc/cpu/decoder/audio_stream.h:4:0,
from /vision/torchvision/csrc/cpu/decoder/audio_stream.cpp:1:
/vision/torchvision/csrc/cpu/decoder/stream.h:52:30: error: ‘findCodec’ declared as a ‘virtual’ field
virtual AVCodec* findCodec(AVCodecParameters* params);
^
/vision/torchvision/csrc/cpu/decoder/stream.h:52:20: error: expected ‘;’ at end of member declaration
virtual AVCodec* findCodec(AVCodecParameters* params);
^
/vision/torchvision/csrc/cpu/decoder/stream.h:52:47: error: expected ‘)’ before ‘*’ token
virtual AVCodec* findCodec(AVCodecParameters* params);
^
/vision/torchvision/csrc/cpu/decoder/audio_stream.cpp: In function ‘bool ffmpeg::{anonymous}::operator==(const ffmpeg::AudioFormat&, const AVFrame&)’:
/vision/torchvision/csrc/cpu/decoder/audio_stream.cpp:10:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return x.samples == y.sample_rate && x.channels == y.channels &&
^
/vision/torchvision/csrc/cpu/decoder/audio_stream.cpp:10:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return x.samples == y.sample_rate && x.channels == y.channels &&
^
/vision/torchvision/csrc/cpu/decoder/audio_stream.cpp: In function ‘bool ffmpeg::{anonymous}::operator==(const ffmpeg::AudioFormat&, const AVCodecContext&)’:
/vision/torchvision/csrc/cpu/decoder/audio_stream.cpp:15:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return x.samples == y.sample_rate && x.channels == y.channels &&
^
/vision/torchvision/csrc/cpu/decoder/audio_stream.cpp:15:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return x.samples == y.sample_rate && x.channels == y.channels &&
^
[5/15] c++ -MMD -MF /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/decoder/memory_buffer.o.d -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/vision/torchvision/csrc/cpu/decoder -I/vision/torchvision/csrc/cpu/video_reader -I/usr/include -I/vision/torchvision/csrc -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c -c /vision/torchvision/csrc/cpu/decoder/memory_buffer.cpp -o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/decoder/memory_buffer.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=video_reader -D_GLIBCXX_USE_CXX11_ABI=1
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[6/15] c++ -MMD -MF /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/decoder/audio_sampler.o.d -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/vision/torchvision/csrc/cpu/decoder -I/vision/torchvision/csrc/cpu/video_reader -I/usr/include -I/vision/torchvision/csrc -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c -c /vision/torchvision/csrc/cpu/decoder/audio_sampler.cpp -o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/decoder/audio_sampler.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=video_reader -D_GLIBCXX_USE_CXX11_ABI=1
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[7/15] c++ -MMD -MF /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/decoder/seekable_buffer.o.d -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/vision/torchvision/csrc/cpu/decoder -I/vision/torchvision/csrc/cpu/video_reader -I/usr/include -I/vision/torchvision/csrc -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c -c /vision/torchvision/csrc/cpu/decoder/seekable_buffer.cpp -o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/decoder/seekable_buffer.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=video_reader -D_GLIBCXX_USE_CXX11_ABI=1
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/vision/torchvision/csrc/cpu/decoder/seekable_buffer.cpp: In member function ‘bool ffmpeg::SeekableBuffer::readBytes(ffmpeg::DecoderInCallback&, size_t, uint64_t)’:
/vision/torchvision/csrc/cpu/decoder/seekable_buffer.cpp:69:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (!eof_ && end_ < maxBytes && (hasTime = watcher())) {
^
/vision/torchvision/csrc/cpu/decoder/seekable_buffer.cpp:74:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (end_ == buffer_.size()) {
^
[8/15] c++ -MMD -MF /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/decoder/video_sampler.o.d -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/vision/torchvision/csrc/cpu/decoder -I/vision/torchvision/csrc/cpu/video_reader -I/usr/include -I/vision/torchvision/csrc -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c -c /vision/torchvision/csrc/cpu/decoder/video_sampler.cpp -o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/decoder/video_sampler.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=video_reader -D_GLIBCXX_USE_CXX11_ABI=1
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[9/15] c++ -MMD -MF /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/decoder/decoder.o.d -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/vision/torchvision/csrc/cpu/decoder -I/vision/torchvision/csrc/cpu/video_reader -I/usr/include -I/vision/torchvision/csrc -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c -c /vision/torchvision/csrc/cpu/decoder/decoder.cpp -o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/decoder/decoder.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=video_reader -D_GLIBCXX_USE_CXX11_ABI=1
FAILED: /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/decoder/decoder.o
c++ -MMD -MF /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/decoder/decoder.o.d -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/vision/torchvision/csrc/cpu/decoder -I/vision/torchvision/csrc/cpu/video_reader -I/usr/include -I/vision/torchvision/csrc -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c -c /vision/torchvision/csrc/cpu/decoder/decoder.cpp -o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/decoder/decoder.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=video_reader -D_GLIBCXX_USE_CXX11_ABI=1
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /vision/torchvision/csrc/cpu/decoder/decoder.h:6:0,
from /vision/torchvision/csrc/cpu/decoder/decoder.cpp:1:
/vision/torchvision/csrc/cpu/decoder/stream.h:52:30: error: ‘findCodec’ declared as a ‘virtual’ field
virtual AVCodec* findCodec(AVCodecParameters* params);
^
/vision/torchvision/csrc/cpu/decoder/stream.h:52:20: error: expected ‘;’ at end of member declaration
virtual AVCodec* findCodec(AVCodecParameters* params);
^
/vision/torchvision/csrc/cpu/decoder/stream.h:52:47: error: expected ‘)’ before ‘*’ token
virtual AVCodec* findCodec(AVCodecParameters* params);
^
In file included from /vision/torchvision/csrc/cpu/decoder/decoder.cpp:7:0:
/vision/torchvision/csrc/cpu/decoder/cc_stream.h:19:12: error: expected ‘;’ at end of member declaration
AVCodec* findCodec(AVCodecParameters* params) override;
^
/vision/torchvision/csrc/cpu/decoder/cc_stream.h:19:39: error: expected ‘)’ before ‘*’ token
AVCodec* findCodec(AVCodecParameters* params) override;
^
/vision/torchvision/csrc/cpu/decoder/decoder.cpp: In member function ‘bool ffmpeg::Decoder::openStreams(std::vector<ffmpeg::DecoderMetadata>*)’:
/vision/torchvision/csrc/cpu/decoder/decoder.cpp:382:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < inputCtx_->nb_streams; i++) {
^
[10/15] c++ -MMD -MF /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/video_reader/VideoReader.o.d -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/vision/torchvision/csrc/cpu/decoder -I/vision/torchvision/csrc/cpu/video_reader -I/usr/include -I/vision/torchvision/csrc -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c -c /vision/torchvision/csrc/cpu/video_reader/VideoReader.cpp -o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/video_reader/VideoReader.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=video_reader -D_GLIBCXX_USE_CXX11_ABI=1
FAILED: /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/video_reader/VideoReader.o
c++ -MMD -MF /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/video_reader/VideoReader.o.d -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/vision/torchvision/csrc/cpu/decoder -I/vision/torchvision/csrc/cpu/video_reader -I/usr/include -I/vision/torchvision/csrc -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c -c /vision/torchvision/csrc/cpu/video_reader/VideoReader.cpp -o /vision/build/temp.linux-x86_64-3.6/vision/torchvision/csrc/cpu/video_reader/VideoReader.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=video_reader -D_GLIBCXX_USE_CXX11_ABI=1
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /vision/torchvision/csrc/cpu/decoder/decoder.h:6:0,
from /vision/torchvision/csrc/cpu/decoder/sync_decoder.h:4,
from /vision/torchvision/csrc/cpu/video_reader/VideoReader.cpp:7:
/vision/torchvision/csrc/cpu/decoder/stream.h:52:30: error: ‘findCodec’ declared as a ‘virtual’ field
virtual AVCodec* findCodec(AVCodecParameters* params);
^
/vision/torchvision/csrc/cpu/decoder/stream.h:52:20: error: expected ‘;’ at end of member declaration
virtual AVCodec* findCodec(AVCodecParameters* params);
^
/vision/torchvision/csrc/cpu/decoder/stream.h:52:47: error: expected ‘)’ before ‘*’ token
virtual AVCodec* findCodec(AVCodecParameters* params);
^
/vision/torchvision/csrc/cpu/video_reader/VideoReader.cpp: In function ‘torch::List<at::Tensor> video_reader::probeVideo(bool, const at::Tensor&, std::__cxx11::string)’:
/vision/torchvision/csrc/cpu/video_reader/VideoReader.cpp:590:17: warning: unused variable ‘media’ [-Wunused-variable]
const auto& media = header.format;
^
In file included from /opt/conda/lib/python3.6/site-packages/torch/include/c10/util/Logging.h:28:0,
from /opt/conda/lib/python3.6/site-packages/torch/include/c10/core/TensorImpl.h:18,
from /opt/conda/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:11,
from /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:3,
from /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /opt/conda/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /opt/conda/lib/python3.6/site-packages/torch/include/torch/script.h:3,
from /vision/torchvision/csrc/cpu/video_reader/VideoReader.h:3,
from /vision/torchvision/csrc/cpu/video_reader/VideoReader.cpp:1:
/vision/torchvision/csrc/cpu/video_reader/VideoReader.cpp: In instantiation of ‘size_t video_reader::fillTensor(std::vector<ffmpeg::DecoderOutputMessage>&, at::Tensor&, at::Tensor&, int64_t, int64_t) [with T = unsigned char; size_t = long unsigned int; int64_t = long int]’:
/vision/torchvision/csrc/cpu/video_reader/VideoReader.cpp:128:71: required from here
/opt/conda/lib/python3.6/site-packages/torch/include/c10/util/logging_is_not_google_glog.h:140:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define CHECK_EQ(val1, val2) CHECK_OP(val1, val2, ==)
^
/opt/conda/lib/python3.6/site-packages/torch/include/c10/util/logging_is_not_google_glog.h:116:3: note: in definition of macro ‘FATAL_IF’
condition ? (void)0 \
^
/opt/conda/lib/python3.6/site-packages/torch/include/c10/util/logging_is_not_google_glog.h:140:30: note: in expansion of macro ‘CHECK_OP’
#define CHECK_EQ(val1, val2) CHECK_OP(val1, val2, ==)
^
/vision/torchvision/csrc/cpu/video_reader/VideoReader.cpp:95:3: note: in expansion of macro ‘CHECK_EQ’
CHECK_EQ(framePts.size(0), msgs.size());
^
/vision/torchvision/csrc/cpu/video_reader/VideoReader.cpp: In instantiation of ‘size_t video_reader::fillTensor(std::vector<ffmpeg::DecoderOutputMessage>&, at::Tensor&, at::Tensor&, int64_t, int64_t) [with T = float; size_t = long unsigned int; int64_t = long int]’:
/vision/torchvision/csrc/cpu/video_reader/VideoReader.cpp:137:69: required from here
/opt/conda/lib/python3.6/site-packages/torch/include/c10/util/logging_is_not_google_glog.h:140:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define CHECK_EQ(val1, val2) CHECK_OP(val1, val2, ==)
^
/opt/conda/lib/python3.6/site-packages/torch/include/c10/util/logging_is_not_google_glog.h:116:3: note: in definition of macro ‘FATAL_IF’
condition ? (void)0 \
^
/opt/conda/lib/python3.6/site-packages/torch/include/c10/util/logging_is_not_google_glog.h:140:30: note: in expansion of macro ‘CHECK_OP’
#define CHECK_EQ(val1, val2) CHECK_OP(val1, val2, ==)
^
/vision/torchvision/csrc/cpu/video_reader/VideoReader.cpp:95:3: note: in expansion of macro ‘CHECK_EQ’
CHECK_EQ(framePts.size(0), msgs.size());
^
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/opt/conda/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1523, in _run_ninja_build
env=env)
File "/opt/conda/lib/python3.6/subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "setup.py", line 418, in <module>
'clean': clean,
File "/opt/conda/lib/python3.6/site-packages/setuptools/__init__.py", line 163, in setup
return distutils.core.setup(**attrs)
File "/opt/conda/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/opt/conda/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/opt/conda/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/opt/conda/lib/python3.6/site-packages/setuptools/command/install.py", line 67, in run
self.do_egg_install()
File "/opt/conda/lib/python3.6/site-packages/setuptools/command/install.py", line 109, in do_egg_install
self.run_command('bdist_egg')
File "/opt/conda/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/opt/conda/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/opt/conda/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 175, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "/opt/conda/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 161, in call_command
self.run_command(cmdname)
File "/opt/conda/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/opt/conda/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/opt/conda/lib/python3.6/site-packages/setuptools/command/install_lib.py", line 11, in run
self.build()
File "/opt/conda/lib/python3.6/distutils/command/install_lib.py", line 107, in build
self.run_command('build_ext')
File "/opt/conda/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/opt/conda/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/opt/conda/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 87, in run
_build_ext.run(self)
File "/opt/conda/lib/python3.6/distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "/opt/conda/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 654, in build_extensions
build_ext.build_extensions(self)
File "/opt/conda/lib/python3.6/distutils/command/build_ext.py", line 448, in build_extensions
self._build_extensions_serial()
File "/opt/conda/lib/python3.6/distutils/command/build_ext.py", line 473, in _build_extensions_serial
self.build_extension(ext)
File "/opt/conda/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 208, in build_extension
_build_ext.build_extension(self, ext)
File "/opt/conda/lib/python3.6/distutils/command/build_ext.py", line 533, in build_extension
depends=ext.depends)
File "/opt/conda/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 483, in unix_wrap_ninja_compile
with_cuda=with_cuda)
File "/opt/conda/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1239, in _write_ninja_file_and_compile_objects
error_prefix='Error compiling objects for extension')
File "/opt/conda/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1539, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension
The command '/bin/sh -c git clone --recursive https://github.com/pytorch/vision && cd vision && git submodule sync && git submodule update --init --recursive && export TORCH_CUDA_ARCH_LIST="3.5 5.2 6.0 6.1 7.0+PTX" && export TORCH_NVCC_FLAGS="-Xfatbin -compress-all" && export CMAKE_PREFIX_PATH="$(dirname $(which conda))/../" && python setup.py clean && python setup.py install' returned a non-zero code: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment