python310Packages.effdet: init at 0.4.1
This commit is contained in:
parent
e978b71524
commit
1f2493e5b6
43
pkgs/development/python-modules/effdet/default.nix
Normal file
43
pkgs/development/python-modules/effdet/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user