• Victor Bourgin's avatar
    Deterministic D2GO Trainer Params · 5b856252
    Victor Bourgin authored
    Summary:
    Pull Request resolved: https://github.com/facebookresearch/d2go/pull/677
    
    Previously, cfg.SOLVER.DETERMINISTIC was not taken into account for lightning `Trainer` in d2go:
    - Nested checks `hasattr(cfg, "SOLVER.DETERMINISTIC")` do not work as expected
    - If SOLVER.DETERMINISTIC exists, we should check that it is set to `True`
    
    Reviewed By: ayushidalmia, rbasch
    
    Differential Revision: D63426319
    
    fbshipit-source-id: 8caf0af53e7b97a49392df09153e26ee3628231f
    5b856252
lightning_train_net.py 6.54 KB