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
When I looked at the code, I see two possible packages for trainer:
try:
from lightning.pytorch import seed_everything
from lightning.pytorch.callbacks import Callback
from lightning.pytorch.trainer import Trainer
from lightning.pytorch.utilities import rank_zero_info
LIGHTNING_PACK_NAME = "lightning.pytorch."
except:
from pytorch_lightning import seed_everything
from pytorch_lightning.callbacks import Callback
from pytorch_lightning.trainer import Trainer
from pytorch_lightning.utilities import rank_zero_info
LIGHTNING_PACK_NAME = "pytorch_lightning."
So, it is either pytorch_lightning or lightning. I have installed the following packages:
When I print the package name I see the used one is lightning.pytorch and it seems that in newer versions, they have removed add_argparse_args. Any idea on how to fix that without messing up the packages?
The text was updated successfully, but these errors were encountered:
It seems that there is a problem with
add_argparse_args
in stable_diffusion when I run the training command:When I looked at the code, I see two possible packages for trainer:
So, it is either pytorch_lightning or lightning. I have installed the following packages:
When I print the package name I see the used one is
lightning.pytorch
and it seems that in newer versions, they have removedadd_argparse_args
. Any idea on how to fix that without messing up the packages?The text was updated successfully, but these errors were encountered: