How to remove hp_metric initial -1 point and x=0 points?
Hi, I don't think this is a bug but I'm doing something wrong. I want to use my val_dice as hp_metric tabular AND also see the graph on "show metric" (radio button) under the Tensorboard HPARAMS tab:

To achieve this I'm logging using self.log('hp_metric', mean_dice) (for the graph) and self.logger.log_hyperparams(params=self.hparams, metrics={'hp_metric': mean_val_dice}) (for the hparams value), both in the function validation_epoch_end
How do I get rid of the initial -1 value? How can I fix my graph so it doesn't draw any points at x=0? (zoomed in version)
I already use your first way but setting default_hp_metric to False makes hp_metric be removed from "hparams" tab (this tab isn't there at all even if I have set some hyper parameters). Adding the final log_hyperparams creates the hparams tab but the graph of hp_metric gets a final value at iteration 0 instead of final iteration), and this step will also be skipped if the job is killed.
Here are what I've tried so far:

default_hp_metric=True: hparams tab visible in Tensorboad with hp_metric updated during training, hp_metric wrong initial value that makes the corresponding graph unsuitable with log scale and smoothing activated.
default_hp_metric=False: no hparams tab in TensorBoard, hp_metric graph OK
default_hp_metric=False and final log_hyperparams: no hparams tab in TensorBoard during training, hp_metric graph OK until the end of the training where final point is associated to iteration #0. No hparams tab at all if job is killed.

I will try to calculate metric before training start to appropriately populate it, or to delay log_hyperparams at the first validation...