VisualDL fails gracefully without setting "mode"
Created by: jetfuel
When configuring the visualdl log writer. The users need to provide "mode" before creating a component writer.
with logw.mode('train') as logger:
scalar0 = logger.scalar("scratch/scalar")
We should either set a default
mode or throw an error to the users.