python310Packages.effdet: init at 0.4.1

This commit is contained in:
happysalada 2023-07-09 10:55:08 +08:00 committed by Yt
parent e978b71524
commit 1f2493e5b6
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, fetchPypi
# build inputs
, torch
, torchvision
, timm
, pycocotools
, omegaconf
}:
let
pname = "effdet";
version = "0.4.1";
in
buildPythonPackage {
inherit pname version;
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-rFWJ/TBKVlDCAZhrLvX44QwREJOnGxxJ+muIF3EIErU=";
};
propagatedBuildInputs = [
torch
torchvision
timm
pycocotools
omegaconf
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "effdet" ];
meta = {
description = "A PyTorch implementation of EfficientDet";
homepage = "https://pypi.org/project/effdet";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ happysalada ];
};
}

View File

@ -3222,6 +3222,8 @@ self: super: with self; {
edward = callPackage ../development/python-modules/edward { };
effdet = callPackage ../development/python-modules/effdet { };
effect = callPackage ../development/python-modules/effect { };
eggdeps = callPackage ../development/python-modules/eggdeps { };