aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/test-tube/default.nix
blob: f0c26292c84bab5c1d46b107c3cbcb4933dc71c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{ lib
, buildPythonPackage
, fetchFromGitHub
, isPy27
, pytestCheckHook
, future
, imageio
, numpy
, pandas
, pytorch
, tensorflow-tensorboard
}:

buildPythonPackage rec {
  pname = "test-tube";
  version = "0.7.5";

  disabled = isPy27;

  src = fetchFromGitHub {
    owner = "williamFalcon";
    repo = pname;
    rev = version;
    sha256 = "0zpvlp1ybp2dhgap8jsalpfdyg8ycjhlfi3xrdf5dqffqvh2yhp2";
  };

  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 ];
  };
}