I just noticed that the dictionary log ends up overwriting the parameter log, which is problematic because later in the code I see more if log: checks, which were presumably meant to check the parameter and not the dictionary (which will never evaluate to False as long as it has any keys).
|
log = {'err': [], 'loss': []} |
I just noticed that the dictionary
logends up overwriting the parameterlog, which is problematic because later in the code I see moreif log:checks, which were presumably meant to check the parameter and not the dictionary (which will never evaluate toFalseas long as it has any keys).paste3/src/paste3/paste2.py
Line 121 in bb4e7ef