torchvision: init at 0.1.9
This commit is contained in:
parent
dd809b930e
commit
14ce4217e3
30
pkgs/development/python-modules/torchvision/default.nix
Normal file
30
pkgs/development/python-modules/torchvision/default.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{ buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, six
|
||||||
|
, numpy
|
||||||
|
, pillow
|
||||||
|
, pytorch
|
||||||
|
, lib }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
version = "0.1.9";
|
||||||
|
pname = "torchvision";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
format = "wheel";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
format = "wheel";
|
||||||
|
sha256 = "016rjfh9w1x4xpw15ryxsvq3j2li17nd3a7qslnf3241hc6vdcwf";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ six numpy pillow pytorch ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "PyTorch vision library";
|
||||||
|
homepage = http://pytorch.org/;
|
||||||
|
license = lib.licenses.bsd3;
|
||||||
|
maintainers = with lib.maintainers; [ ericsagnes ];
|
||||||
|
};
|
||||||
|
}
|
@ -27064,6 +27064,8 @@ EOF
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
torchvision = callPackage ../development/python-modules/torchvision { };
|
||||||
|
|
||||||
jenkinsapi = buildPythonPackage rec {
|
jenkinsapi = buildPythonPackage rec {
|
||||||
name = "jenkinsapi-${version}";
|
name = "jenkinsapi-${version}";
|
||||||
version = "0.2.32";
|
version = "0.2.32";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user