v0.5: initializes with random weights and scalings in spite of calc.load()

Issue #89 open
Alireza Khorshidi created an issue

This issue is seen in the attached log. In spite of loading 'amp.amp', it still initializes with random weights and scalings.

Comments (4)

  1. andrew_peterson repo owner

    I think it should be

    calc = Amp.load('amp.amp')
    

    So were you doing something more like

    calc = ...
    # Do stuff with above calc.
    calc.load('amp.amp')
    # Expect to do stuff with new calc.
    

    Your behavior seems reasonable too. I wonder if we can make both work?

  2. Log in to comment