Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Weight decay only applied when printing averaged stats #132

@EinarSommerfeldt

Description

@EinarSommerfeldt

Hi, I'm looking through opt.py and noticed that the code
if args.weight_decay_sh < 1.0: grid.sh_data.data *= args.weight_decay_sigma if args.weight_decay_sigma < 1.0: grid.density_data.data *= args.weight_decay_sh
Only runs inside
if (iter_id + 1) % args.print_every == 0:
Is it intentional to only update weight decay when printing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions