Skip to content
Discussion options

You must be logged in to vote

Whats happening in _setup_transform is setting the evaluation transform as the models default image transformation method. This is intended because during inference you want to use the eval transform only. The eval transform is stored to the model and saved in the model export file.

During training and validation the images are not transformed by the model transforms, but by the transforms that are defined in the respective datamodules.

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by samet-akcay
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@samet-akcay
Comment options

@samet-akcay
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #2176 on July 10, 2024 08:56.