Does _setup_transform()
in Engine.fit
use the train transforms properly?
#2100
Unanswered
CarlosNacher
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I was looking the
Engine.fit()
method and I realised that maybe we are incorrectly usingeval_transform
for train instead oftrain_transform
; or maybe I have misunderstood the code structure. I mean:If you look into the
fit()
method of theEngine
(engine.py line 441
) the method_setup_transform()
is called. And that method (line 311
ofengine.py
) does:And if you go to datamodule (
datamodule.py line 232
in thetransform
property):it seems that even in
fit
method, theeval_transform
takes precedence overtrain_transform
. But if you are fitting, you wanttrain_transform
, not eval one.Am I misunderstanding anything?
Thank you so much in advance!
Beta Was this translation helpful? Give feedback.
All reactions