Skip to content

Commit 1c311ed

Browse files
oxinaboxPhilipVinc
authored andcommitted
Do not directly depend on ImageMagick (#28)
* remove direct dependency on ImageMagick * bump version
1 parent 4dd51d4 commit 1c311ed

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

Project.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
name = "TensorBoardLogger"
22
uuid = "899adc3e-224a-11e9-021f-63837185c80f"
33
authors = ["Filippo Vicentini <filippovicentini@gmail.com>"]
4-
version = "0.1.1"
4+
version = "0.1.2"
55

66
[deps]
77
CRC32c = "8bf52ea8-c179-5cab-976a-9e18b702a9bc"
88
ColorTypes = "3da002f7-5984-5a60-b8a6-cbb66c0b333f"
99
FileIO = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549"
1010
ImageCore = "a09fc81d-aa75-5fe9-8630-4744c3626534"
11-
ImageMagick = "6218d12a-5da1-5696-b52f-db25d2ecc6d1"
1211
ProtoBuf = "3349acd9-ac6a-5e09-bcdb-63829b23a429"
1312
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
1413

1514
[compat]
16-
julia = "0.7, 1"
1715
ProtoBuf = ">= 0.7"
1816
StatsBase = ">= 0.27"
17+
julia = "0.7, 1"
1918

2019
[extras]
2120
Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c"
22-
TestImages = "5e47fb64-e119-507b-a336-dd2b206d9990"
21+
ImageMagick = "6218d12a-5da1-5696-b52f-db25d2ecc6d1"
2322
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
23+
TestImages = "5e47fb64-e119-507b-a336-dd2b206d9990"
2424

2525
[targets]
26-
test = ["Test", "Flux", "TestImages"]
26+
test = ["Test", "Flux", "TestImages", "ImageMagick"]

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ At the moment, we can serialize to the following TensorBoard backends (plugins):
5656
- *Scalar* for real-valued data (`log_value`)
5757
- *Histograms* for real-value histograms (`log_histogram` and `log_vector`)
5858
- *Text* for markdown (`log_text`)
59+
- *Image* for images (`log_image`). Note: you will need either ImageMagick.jl or QuartzImageIO.jl installed in the current enviroment for Image logging to function.
5960

6061
When you use the Logging interface we break down structures in order to obtain types that
6162
can be serialized to one of those backends. In particoular, the behaviour is the following:

test/runtests.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ using TestImages
66
using ImageCore
77
using ColorTypes
88

9+
910
@testset "TBLogger" begin
1011
include("test_TBLogger.jl")
1112
end

0 commit comments

Comments
 (0)