shahaf1313 / ProCST

Official implementation of ProCST image-to-image translation for UDA-SS.
MIT License
28 stars 3 forks source link

Some questions about validation #4

Closed yangH8 closed 1 year ago

yangH8 commented 1 year ago

We want to test the model on the validation set in 'calculte_validation_accuracy' function. But we has been trained 5 epochs, it's still not into the validation stage. How can we quickly validate the model?

shahaf1313 commented 1 year ago

Hey Yang, Validation on the target set is enabled only at the last scale (e.g. n=N), because till this stage we do not handle full resolution images. If you wish the code to validate please train the model up to the last scale. Additionally, you can change the behavior of the code to support such a feature. I assume that the files that needs to to be changed are core/training.py and data_handlers/cityscapes_dataset.py. Shahaf.

yangH8 commented 1 year ago

How many scales are there?

shahaf1313 commented 1 year ago

3 total. It is configurable of course.