Package Details: python-torchvision-git 0.2.1.r62.g8bd05e6-1

Git Clone URL: https://aur.archlinux.org/python-torchvision-git.git (read-only, click to copy)
Package Base: python-torchvision-git
Description: Datasets, Transforms and Models specific to Computer Vision
Upstream URL: https://github.com/pytorch/vision
Licenses: BSD
Conflicts: python-torchvision
Provides: python-torchvision
Submitter: zsrkmyn
Maintainer: Lamanator
Last Packager: leomao
Votes: 0
Popularity: 0.000000
First Submitted: 2017-07-29 18:34
Last Updated: 2018-12-13 09:06

Required by (27)

Sources (1)

Latest Comments

leomao commented on 2021-03-03 14:16

https://github.com/pytorch/vision/issues/3175 It seems that we need torch nightly to build torchvision master.
I am going to leave this package orphan because I don't use it now.
I think most people should just use python-torchvision if they use it with the pytorch package in the [community].

ruestique commented on 2021-03-02 12:42

[18/18] c++ -MMD -MF /home/chibo/.cache/yay/python-torchvision-git/src/vision/build/temp.linux-x86_64-3.9/home/chibo/.cache/yay/python-torchvision-git/src/vision/torchvision/csrc/ops/autograd/ps_roi_align_kernel.o.d -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fno-semantic-interposition -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -I/home/chibo/.cache/yay/python-torchvision-git/src/vision/torchvision/csrc -I/usr/lib/python3.9/site-packages/torch/include -I/usr/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/usr/lib/python3.9/site-packages/torch/include/TH -I/usr/lib/python3.9/site-packages/torch/include/THC -I/usr/include/python3.9 -c -c /home/chibo/.cache/yay/python-torchvision-git/src/vision/torchvision/csrc/ops/autograd/ps_roi_align_kernel.cpp -o /home/chibo/.cache/yay/python-torchvision-git/src/vision/build/temp.linux-x86_64-3.9/home/chibo/.cache/yay/python-torchvision-git/src/vision/torchvision/csrc/ops/autograd/ps_roi_align_kernel.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1014"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++14
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1533, in _run_ninja_build
    subprocess.run(
  File "/usr/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
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 "/home/chibo/.cache/yay/python-torchvision-git/src/vision/setup.py", line 447, in <module>
    setup(
  File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.9/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.9/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.9/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/usr/lib/python3.9/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 79, in run
    _build_ext.run(self)
  File "/usr/lib/python3.9/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
    _build_ext.build_ext.run(self)
  File "/usr/lib/python3.9/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/usr/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 670, in build_extensions
    build_ext.build_extensions(self)
  File "/usr/lib/python3.9/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
    _build_ext.build_ext.build_extensions(self)
  File "/usr/lib/python3.9/distutils/command/build_ext.py", line 449, in build_extensions
    self._build_extensions_serial()
  File "/usr/lib/python3.9/distutils/command/build_ext.py", line 474, in _build_extensions_serial
    self.build_extension(ext)
  File "/usr/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 196, in build_extension
    _build_ext.build_extension(self, ext)
  File "/usr/lib/python3.9/distutils/command/build_ext.py", line 529, in build_extension
    objects = self.compiler.compile(sources,
  File "/usr/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 491, in unix_wrap_ninja_compile
    _write_ninja_file_and_compile_objects(
  File "/usr/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1250, in _write_ninja_file_and_compile_objects
    _run_ninja_build(
  File "/usr/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1555, in _run_ninja_build
    raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension
==> ERROR: A failure occurred in build().
    Aborting...
error making: python-torchvision-git

mdeff commented on 2017-11-11 17:12

This package should depend on python-pillow.