Closed yuchanpei closed 10 months ago
Hi @yuchanpei,
are you sure you want to train your model without validation set? This will most likely result in overfitting since you can't use the early stopping hook. In contrast, specifying an empty test set should be possible.
Since it is not recommended, specifying an empty val set would require quite some modifications in the code.
You would have to adapt schnetpack/data/splitting.py
and schnetpack/data/datamodule.py
.
Best regards, Jonas
Hi @jnsLs, Yes.Due to special circumstances, I need to use all the data for training. I will monitor the training process in real time and closely observe the model's performance on the training data to ensure that overfitting does not occur. Thank you so much for the advice! I will try this and get back to you if I am still having any problems :)
Hi everyone, I want to use all of my data to train schnet model without using a validation set. I found the following code in the documentation, but when I set num_val to 0, I get the following error.
Can I achieve the corresponding goal by modifying a small amount of code? How should I modify the relevant code? Any help would be much appreciated :)