advimman / lama

🦙 LaMa Image Inpainting, Resolution-robust Large Mask Inpainting with Fourier Convolutions, WACV 2022
https://advimman.github.io/lama-project/
Apache License 2.0
7.9k stars 838 forks source link

How to adjust val_check_interval #252

Closed clcllllll closed 10 months ago

clcllllll commented 1 year ago

Error occurred when training my own dataset: ValueError: val_check_interval (25000) must be less than or equal to the number of the training batches (573). If you want to disable validation set limit_val_batches to 0.0 instead.

whitefish132 commented 1 year ago

Hi! I met the same problem and I changed "limit_train_batches" in "configs/training/trainer/any_gpu_large_ssim_ddp_final.yaml". I'm wondering if there's a more elegant way to change the parameter (like, change it directly in the command line...

senya-ashukha commented 10 months ago

TY @whitefish132