CoolFace
Apppublic

Paolify/RVC_4

sourceHugging Faceupdated 3y agoView on Hugging Face
0likes
tensor-launch.py15 linesDownload Raw Back to Fixes
1import threading2import time3from tensorboard import program4import os5 6log_path = "logs"7 8if __name__ == "__main__":9    tb = program.TensorBoard()10    tb.configure(argv=[None, '--logdir', log_path])11    url = tb.launch()12    print(f'Tensorboard can be accessed at: {url}')13 14    while True:15        time.sleep(600)  # Keep the main thread running