镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Missing entries in Logger.add #105

Open

Description

@pratikac

Is it possible for Logger:add(s) to add only a subset of the variables? For instance, I would like to call Logger:setNames({'loss', 'epoch', 'batch'}) and then do Logger:add({loss=0.5, batch=10}). The unknown field epoch should be set to a default value, say zero.

I think the current version of Logger is designed to only take as argument an ordered array (?). In the above example, if I do Logger:add({0.5, 10}), it will simply set the epoch to 10 and leave batch blank. This behavior is quite a pain while logging lots of variables.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions