Merge branch 'dev' of https://github.com/shahules786/enhancer into dev-hawk
This commit is contained in:
commit
e06ba07889
|
|
@ -3,4 +3,4 @@ Enhancer is a Pytorch-based opensource toolkit for speech enhancement. It is des
|
|||
|
||||
* Various pretrained models nicely integrated with huggingface that users can select and use without any hastle.
|
||||
* Ability to train and validation your own custom speech enhancement models with just under 10 lines of code!
|
||||
* A command line tool that facilitates training of highly customisable speech enhacement models from the terminal itself!
|
||||
* A command line tool that facilitates training of highly customisable speech enhacement models from the terminal itself!
|
||||
|
|
|
|||
|
|
@ -79,6 +79,16 @@ def main(config: DictConfig):
|
|||
)
|
||||
if os.path.isfile(saved_location):
|
||||
logger.experiment.log_artifact(logger.run_id, saved_location)
|
||||
logger.experiment.log_param(
|
||||
logger.run_id,
|
||||
"num_train_steps_per_epoch",
|
||||
dataset.train__len__() / dataset.batch_size,
|
||||
)
|
||||
logger.experiment.log_param(
|
||||
logger.run_id,
|
||||
"num_valid_steps_per_epoch",
|
||||
dataset.val__len__() / dataset.batch_size,
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
|
|||
Loading…
Reference in New Issue