File size: 163 Bytes
0b11a42
 
 
 
 
 
1
2
3
4
5
6
7

from pathlib import Path

from torch.utils.tensorboard import SummaryWriter

writer = SummaryWriter(str(Path(__file__).parent.parent.parent.absolute())+"/runs/")