mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 12:59:04 +02:00
python310Packages.ttach: init at 0.0.3
This commit is contained in:
parent
6bc6f77cb1
commit
c7bc08082a
33
pkgs/development/python-modules/ttach/default.nix
Normal file
33
pkgs/development/python-modules/ttach/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ fetchFromGitHub
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
, torch
|
||||
, buildPythonPackage
|
||||
, lib
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ttach";
|
||||
version = "0.0.3";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "qubvel";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-R6QO+9hv0eI7dZW5iJf096+LU1q+vnmOpveurgZemPc=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ torch ];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
pythonImportsCheck = [ "ttach" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Image Test Time Augmentation with PyTorch";
|
||||
homepage = "https://github.com/qubvel/ttach";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ cfhammill ];
|
||||
};
|
||||
}
|
|
@ -11367,6 +11367,8 @@ self: super: with self; {
|
|||
|
||||
trytond = callPackage ../development/python-modules/trytond { };
|
||||
|
||||
ttach = callPackage ../development/python-modules/ttach { };
|
||||
|
||||
ttls = callPackage ../development/python-modules/ttls { };
|
||||
|
||||
ttp = callPackage ../development/python-modules/ttp { };
|
||||
|
|
Loading…
Reference in a new issue