Counter#

class montreal_forced_aligner.utils.Counter[source]#

Bases: object

Multiprocessing counter object for keeping track of progress

Variables:

lock (Lock) – Lock for threading safety

increment(value=1)[source]#

Increment the counter

value()[source]#

Get the current value of the counter