equialgo/fairness-in-ml

How could I achieve the animation graph? Thanks

Bee-zest opened this issue · 2 comments

How could I achieve the animation graph? Thanks
hgrif commented

Hi @Bee-zest,

The animation is generated by saving matplotlib figures as png images and converting them to a gif with the command (see the last code cell of this Notebook:

convert -loop 0 -delay 0 output/*.png -delay 500 output/00000165.png images/training.gif

I believe convert is a tool from imagemagick. Alternatively, you could look into matplotlib.animation (see an example here).

Good luck!