Commit 1f2493e5 authored by happysalada's avatar happysalada Committed by Yt
Browse files

python310Packages.effdet: init at 0.4.1

parent e978b715
Loading
Loading
Loading
Loading
+43 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };