You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I defined a neural network in the init method of a lightning module, and some modules of this network are pre-trained. I fixed these pretrained modules and set their training mode to false. However, when training started, I found that the training mode of these modules was unexpectedly set to true. I think this may be a potential bug.
What version are you seeing the problem on?
v1.9
How to reproduce the bug
No response
Error messages and logs
# Error messages and logs here please
Environment
Current environment
#- Lightning Component (e.g. Trainer, LightningModule, LightningApp, LightningWork, LightningFlow):
#- PyTorch Lightning Version (e.g., 1.5.0):
#- Lightning App Version (e.g., 0.5.2):
#- PyTorch Version (e.g., 2.0):
#- Python version (e.g., 3.9):
#- OS (e.g., Linux):
#- CUDA/cuDNN version:
#- GPU models and configuration:
#- How you installed Lightning(`conda`, `pip`, source):
#- Running environment of LightningApp (e.g. local, cloud):
More info
No response
The text was updated successfully, but these errors were encountered:
Bug description
I defined a neural network in the init method of a lightning module, and some modules of this network are pre-trained. I fixed these pretrained modules and set their training mode to false. However, when training started, I found that the training mode of these modules was unexpectedly set to true. I think this may be a potential bug.
What version are you seeing the problem on?
v1.9
How to reproduce the bug
No response
Error messages and logs
Environment
Current environment
More info
No response
The text was updated successfully, but these errors were encountered: