depot/third_party/nixpkgs/pkgs/development/python-modules/test-tube/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

46 lines
853 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, isPy27
, pytestCheckHook
, future
, imageio
, numpy
, pandas
, pytorch
, tensorflow-tensorboard
}:
buildPythonPackage rec {
pname = "test-tube";
version = "0.628";
disabled = isPy27;
src = fetchFromGitHub {
owner = "williamFalcon";
repo = pname;
rev = version;
sha256 = "0w60xarmcw06gc4002sy7bjfykdz34gbgniswxkl0lw8a1v0xn2m";
};
checkInputs = [
pytestCheckHook
];
propagatedBuildInputs = [
future
imageio
numpy
pandas
pytorch
tensorflow-tensorboard
];
meta = with lib; {
homepage = "https://github.com/williamFalcon/test-tube";
description = "Framework-agnostic library to track and parallelize hyperparameter search in machine learning experiments";
license = licenses.mit;
maintainers = [ maintainers.tbenst ];
};
}