How to use Lightning 1.0 without validation dataloader ?
How does one do the training in pytorch lightning in without a validation dataloader ?
In earlier version it was setting Trainer flag val_percent_check = 0, but the latest version doesn't seem to have the flag val_percent_check , i couldn't find it in the docs.
So how do i train if i do-not have a validation dataloader or do-not want to perform the validation step.
Will this work ?
class MyModel(pl.LightningModule):
    def __init__(self, hparams):
        self.model = ....
        self.hparams = hparams

    def train_dataloader(self) :
        train_ds = load_dataset(self.hparams.train_path)
        train_ds = DataLoader(train_ds, ....)
        return train_ds

    def val_dataloader(self):
        if self.hparams.use_val:
            val_ds = load_dataset(self.hparams.train_path)
            val_ds = DataLoader(train_ds, ....)
            return val_ds
        else:
            return None

    def test_dataloader(self) :
        test_ds = load_dataset(self.hparams.train_path)
        test_ds = DataLoader(train_ds, ....)
        return test_ds

   .....