add cfg option to control the frequency of the writers
Summary: Pull Request resolved: https://github.com/facebookresearch/d2go/pull/342 Add a cfg option to control the frequency of the writers. Currently, the default writers include: ``` writers = [ CommonMetricPrinter(max_iter), JSONWriter(os.path.join(cfg.OUTPUT_DIR, "metrics.json")), tbx_writer, ] ``` Reviewed By: wat3rBro Differential Revision: D38065583 fbshipit-source-id: ebdc20aab71e03b4e18772af78b410f17ba4216d
Showing
Please register or sign in to comment