fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
48 lines
860 B
Nix
48 lines
860 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pythonOlder,
|
|
pytestCheckHook,
|
|
bokeh,
|
|
ipython,
|
|
matplotlib,
|
|
numpy,
|
|
nbconvert,
|
|
nbformat,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "livelossplot";
|
|
version = "0.5.5";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "stared";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-YU8vX4SubI6txmC/i5fOjcvWfuDFm8+SPmie8Eb1qRs=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
bokeh
|
|
ipython
|
|
matplotlib
|
|
numpy
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
nbconvert
|
|
nbformat
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = with 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 ];
|
|
};
|
|
}
|