2020-08-23 21:27:38 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, isPy27
|
|
|
|
, pytestCheckHook
|
|
|
|
, future
|
|
|
|
, imageio
|
|
|
|
, numpy
|
|
|
|
, pandas
|
2022-08-30 16:41:22 +01:00
|
|
|
, torch
|
2022-03-06 22:46:59 +00:00
|
|
|
, tensorboard
|
2020-08-23 21:27:38 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "test-tube";
|
2022-01-14 00:59:03 +00:00
|
|
|
version = "0.628";
|
2020-08-23 21:27:38 +01:00
|
|
|
|
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "williamFalcon";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-01-14 00:59:03 +00:00
|
|
|
sha256 = "0w60xarmcw06gc4002sy7bjfykdz34gbgniswxkl0lw8a1v0xn2m";
|
2020-08-23 21:27:38 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
future
|
|
|
|
imageio
|
|
|
|
numpy
|
|
|
|
pandas
|
2022-08-30 16:41:22 +01:00
|
|
|
torch
|
2022-03-06 22:46:59 +00:00
|
|
|
tensorboard
|
2020-08-23 21:27:38 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|