No validation dataset
I am just starting to use pytorch_lightning. I have one question regarding the validation set. I may or may not have a validation set during my training. How should the validation_step be structured in this case?
is it enough do something like this:
@pl.data_loader
def val_dataloader(self):
     if has_valset:        
        return self.__dataloader(train=False)
    return None

So if it  returns None, then no validation loop calls will be made?
Or do I need something like:
def validation_step(self, batch, batch_idx):
    # Is this check necessary?
    if not has_vaset:
        return
   
   # process the validation batch