Skip to content

Add manual synchronization function #24

Open

Description

@qbx2

Hello. First of all, thank you for sharing code and experiment results.
Reading the code, I found that the model will use fast weights to infer. According to LookAhead, fast weights (before synchronization) may perform worse than slow weights. By chance of (1-1/k) probability (80% when k=5), we will use unsynchronized fast weights to validate/test. Therefore, it should be better if we manually synchronize before evaluation.

Activity

  1. lessw2020 commented on Feb 4, 2020

    @lessw2020
    Owner

    Hi @qbx2 ,
    Thanks for the feedback!
    I think adding a manual sync is a good idea, along with a manual clear weights (for restarting new training).
    I will try and add that later this week!
    Thanks
    Less

  2. qbx2 commented on Feb 5, 2020

    @qbx2
    Author

    Another minor issue: There is a typo N_sma_threshhold in ranger.py. It should be N_sma_threshold.

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