Fix TB train visualization
Summary: Pull Request resolved: https://github.com/facebookresearch/d2go/pull/465 Training visualization was basically activated only for the first training iterations if TRAIN_LOADER_VIS_MAX_IMAGES and TRAIN_LOADER_VIS_WRITE_PERIOD were set to be > 0. because the MAX_IMAGES was taken as the number of samples to log + the allowed number of samples to load overall. So after the first log to TB it was set to 0 and the visualization was not activated for later training steps (ignoring WRITE_PERIOD). I've added a TRAIN_LOADER_VIS_MAX_BATCH_IMAGES parameter to set a number of samples to visualize each write period up to the max images defined with TRAIN_LOADER_VIS_MAX_IMAGES Reviewed By: tglik Differential Revision: D42832903 fbshipit-source-id: 02a0d9aa4ea6d0ee725120916d26b77843a3e8ab
Showing
Please register or sign in to comment