Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

MethodError: no method matching logable_propertynames #40

Closed
findmyway opened this issue Aug 6, 2019 · 0 comments · Fixed by #41
Closed

MethodError: no method matching logable_propertynames #40

findmyway opened this issue Aug 6, 2019 · 0 comments · Fixed by #41

Comments

@findmyway
Copy link
Contributor

julia> with_logger(lg) do
           for i=1:100
               x0          = 0.5+i/30; s0 = 0.5/(i/20);
               edges       = collect(-5:0.1:5)
               centers     = collect(edges[1:end-1] .+0.05)
               histvals    = [exp(-((c-x0)/s0)^2) for c=centers]
               data_tuple  = (edges, histvals)
               data_struct = sample_struct(i^2, i^1.5-0.3*i)


               @info "test" i=i j=i^2 dd=rand(10).+0.1*i hh=data_tuple
               @info "test_2" i=i j=2^i hh=data_tuple log_step_increment=0
               @info "" my_weird_struct=data_struct   log_step_increment=0
               @debug "debug_msg" this_wont_show_up=i
           end
       end
ERROR: MethodError: no method matching logable_propertynames(::sample_struct)
Closest candidates are:
  logable_propertynames(::Type) at /home/tj/.julia/packages/TensorBoardLogger/a0U7u/src/logger_dispatch.jl:39
...
findmyway added a commit to findmyway/TensorBoardLogger.jl that referenced this issue Aug 6, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant