2020-06-30 08:59:39 +01:00
|
|
|
{ boto3, buildPythonPackage, crc32c, fetchFromGitHub, lib, matplotlib, moto
|
|
|
|
, numpy, pillow, pytorch, protobuf, six, pytestCheckHook
|
|
|
|
, tensorflow-tensorboard, torchvision }:
|
2019-01-04 21:20:43 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "tensorboardx";
|
|
|
|
version = "2.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lanpa";
|
|
|
|
repo = "tensorboardX";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0qqalq0fhbx0wnd8wdwhyhkkv2brvj9qbk3373vk3wjxbribf5c7";
|
|
|
|
};
|
|
|
|
|
2020-06-30 08:59:39 +01:00
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook boto3 crc32c matplotlib moto pillow pytorch tensorflow-tensorboard torchvision
|
|
|
|
];
|
2019-01-04 21:20:43 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ numpy protobuf six ];
|
|
|
|
|
2020-06-30 08:59:39 +01:00
|
|
|
disabledTests = [ "test_TorchVis" "test_onnx_graph" ];
|
2019-01-04 21:20:43 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Library for writing tensorboard-compatible logs";
|
2020-06-30 08:59:39 +01:00
|
|
|
homepage = "https://github.com/lanpa/tensorboardX";
|
2019-01-04 21:20:43 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ lebastr akamaus ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|