error with customizing my progress par #15378
Answered
by
akihironitta
abdelkareemkobo
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
-
I am trying to use RichProgressBar ! from pytorch_lightning.callbacks import RichProgressBar
from rich.progress import Progress
model = ButterflyGAN()
trainer = pl.Trainer( max_epochs=100, gpus=1,callbacks=[RichProgressBar(refresh_rate=1,
theme=RichProgressBarTheme(description='black'
,progressbar = '#6206E0'
,progress_bar_finished='#6206E0'
,progress_bar_pulse='#6206E0',
batch_size='white',
time='grey54',
processing_speed='grey70',
metrics='white'),console_kwargs=None)])#gpus=1
trainer.fit(model, buttefly_train_dataloader)
any help |
Beta Was this translation helpful? Give feedback.
Answered by
akihironitta
Oct 28, 2022
Replies: 1 comment
-
You need to import from pytorch_lightning.callbacks.progress.rich_progress import RichProgressBarTheme |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
abdelkareemkobo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to import
RichProgressBar
before instantiating the class.https://pytorch-lightning.readthedocs.io/en/1.7.7/visualize/logging_expert.html?highlight=RichProgressBarTheme#use-the-richprogressbar