Skip to content

Instantly share code, notes, and snippets.

@merutak
merutak / tensorboard-display-matrix.py
Created March 21, 2021 08:01
import numpy matrix to display in tensorboard
import os
from tensorboard.plugins import projector
import math
from django.conf import settings
log_dir='/logs/abcd/'
if not os.path.exists(log_dir):
os.makedirs(log_dir)
# Save Labels separately on a line-by-line manner.