Submitted by gahaalt t3_zh381d in deeplearning

Hi!

I train lots of DL models. I often check their training progress in the command line. To have a nicer time doing so, I created Progress Table and I decided to share it. It's a direct replacement for TQDM, Keras Progbar and other progress tracking utilities.

I'll explain the purpose of this package with "before" and "after" GIFs:

Before:

​

https://i.redd.it/52ckca5ip25a1.gif

After:

​

https://i.redd.it/dqbwsw1jp25a1.gif

It's a tiny package with one dependency: colorama for displaying colored text.

Install with pip install progress-table.

Code and example-based instructions are here: https://github.com/gahaalt/progress-table

Tell me, if it's interesting for you. Do you have any suggestions for its further development?

31

Comments

You must log in or register to comment.

VinnyVeritas t1_izk4aoa wrote

Wow, that's a nice extension/replacement. Very cool work!

3

RichardBJ1 t1_izlbf63 wrote

Looks great, defo like to have a go with this.Perhaps epoch n/total epochs too though?

3

gahaalt OP t1_izo28vv wrote

Hello! Thanks for your feedback. Actually, Progress Table is flexible and you can display arbitrary data in table cells. It can be, for example, a string f"{epoch}/{total_epochs}". It's you who defines what will be displayed :)

To make it clearer, I created integrations.md where you can see an example of Progress Table integration with PyTorch and Keras.

3

David202023 t1_iznb1ut wrote

Looks very nice, kudos! Can we expect a similar tool for Pytorch?

1

gahaalt OP t1_izo0w5m wrote

Hi! Thanks for the feedback.

Actually, Progress Table is not tied to Keras or any other Deep Learning framework. You can use Progress Table to track any long-running process that produces data. The source code is not neural network specific :)

To help you start out, I've created a markdown file with PyTorch integration example. Check this out: integrations.md. Let me know if it's clear!

1

boosandy t1_iztwsst wrote

Sometimes tqdm goes nuts.

1