[BUG] TypeError: model
must be a LightningModule
or torch._dynamo.OptimizedModule
, got TemporalFusionTransformer
#1723
Labels
bug
Something isn't working
what is main reason of this error? 1 frames
/usr/local/lib/python3.10/dist-packages/pytorch_lightning/utilities/compile.py in _maybe_unwrap_optimized(model)
123 if isinstance(model, pl.LightningModule):
124 return model
--> 125 raise TypeError(
126 f"
model
must be aLightningModule
ortorch._dynamo.OptimizedModule
, got{type(model).__qualname__}
"127 )
There is one subject_ID is 12345, I split data into 80% training and 20% testing
The text was updated successfully, but these errors were encountered: