python3Packages.livelossplot: init at 0.5.0
This commit is contained in:
parent
24fcef1b9e
commit
43d6898ea2
2 changed files with 42 additions and 0 deletions
40
pkgs/development/python-modules/livelossplot/default.nix
Normal file
40
pkgs/development/python-modules/livelossplot/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, isPy27
|
||||||
|
, pytest
|
||||||
|
, bokeh
|
||||||
|
, ipython
|
||||||
|
, matplotlib
|
||||||
|
, numpy
|
||||||
|
, nbconvert
|
||||||
|
, nbformat
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "livelossplot";
|
||||||
|
version = "0.5.0";
|
||||||
|
|
||||||
|
disabled = isPy27;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "stared";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "164v65qglgyg38q9ajnas99rp14mvrk5hn8x76b8iy81vszmx1c0";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ bokeh ipython matplotlib numpy ];
|
||||||
|
|
||||||
|
checkInputs = [ pytest nbconvert nbformat ];
|
||||||
|
checkPhase = ''
|
||||||
|
pytest tests tests/external_test_examples.py
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Live training loss plot in Jupyter for Keras, PyTorch, and others";
|
||||||
|
homepage = "https://github.com/stared/livelossplot";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ bcdarwin ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -891,6 +891,8 @@ in {
|
||||||
|
|
||||||
limitlessled = callPackage ../development/python-modules/limitlessled { };
|
limitlessled = callPackage ../development/python-modules/limitlessled { };
|
||||||
|
|
||||||
|
livelossplot = callPackage ../development/python-modules/livelossplot { };
|
||||||
|
|
||||||
lmtpd = callPackage ../development/python-modules/lmtpd { };
|
lmtpd = callPackage ../development/python-modules/lmtpd { };
|
||||||
|
|
||||||
logster = callPackage ../development/python-modules/logster { };
|
logster = callPackage ../development/python-modules/logster { };
|
||||||
|
|
Loading…
Reference in a new issue