ApplioC / rvc /lib /tools /launch_tensorboard.py
Aitron Emper
Upload 109 files
74d2eb9 verified
raw
history blame
628 Bytes
import time
from tensorboard import program
log_path = "logs"
if __name__ == "__main__":
tb = program.TensorBoard()
tb.configure(argv=[None, "--logdir", log_path])
url = tb.launch()
print(
f"Access the tensorboard using the following link:\n{url}?pinnedCards=%5B%7B%22plugin%22%3A%22scalars%22%2C%22tag%22%3A%22loss%2Fg%2Ftotal%22%7D%2C%7B%22plugin%22%3A%22scalars%22%2C%22tag%22%3A%22loss%2Fd%2Ftotal%22%7D%2C%7B%22plugin%22%3A%22scalars%22%2C%22tag%22%3A%22loss%2Fg%2Fkl%22%7D%2C%7B%22plugin%22%3A%22scalars%22%2C%22tag%22%3A%22loss%2Fg%2Fmel%22%7D%5D"
)
while True:
time.sleep(600)