Merge pull request #52939 from akamaus/tensorboardX

This commit is contained in:
Jörg Thalheim 2020-06-30 09:15:56 +01:00 committed by GitHub
commit 74cb17f3ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 39 additions and 0 deletions

View File

@ -283,6 +283,12 @@
githubId = 273837;
name = "Mateusz Czapliński";
};
akamaus = {
email = "dmitryvyal@gmail.com";
github = "akamaus";
githubId = 58955;
name = "Dmitry Vyal";
};
akaWolf = {
email = "akawolf0@gmail.com";
github = "akaWolf";

View File

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

View File

@ -7238,6 +7238,8 @@ in {
suseapi = callPackage ../development/python-modules/suseapi { };
tensorboardx = callPackage ../development/python-modules/tensorboardx { };
typed-ast = callPackage ../development/python-modules/typed-ast { };
stripe = callPackage ../development/python-modules/stripe { };