throw TypeError when bad data is passed in to add_scalar rather than NameError due to absence of caffe2 workspace (#591)
throw TypeError when bad data is passed in to add_scalar rather than NameError due to absence of caffe2 workspace (#591)


lanpa/tensorboardX,lanpa/tensorboardX