sabretoothedhugs
commited on
Commit
•
2224407
1
Parent(s):
d57cd7a
Delete start_tensorboard.py
Browse files- start_tensorboard.py +0 -12
start_tensorboard.py
DELETED
@@ -1,12 +0,0 @@
|
|
1 |
-
import os
|
2 |
-
from subprocess import Popen
|
3 |
-
|
4 |
-
# Define your desired log directory
|
5 |
-
log_dir = "/runs"
|
6 |
-
|
7 |
-
# Ensure the log directory exists
|
8 |
-
if not os.path.exists(log_dir):
|
9 |
-
os.makedirs(log_dir)
|
10 |
-
|
11 |
-
# Start TensorBoard
|
12 |
-
Popen(["tensorboard", "--logdir", log_dir, "--host", "0.0.0.0", "--port", "6006"])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|