Skip to content

Instantly share code, notes, and snippets.

View DavidGeorge528's full-sized avatar

David George DavidGeorge528

View GitHub Profile
edges = {}
F = meshes[0]["Faces"].copy()
F.sort(1)
nf = F.shape[0]
for i in range(nf):
edges.setdefault(tuple(F[i,:2]), []).append(i)
edges.setdefault(tuple(F[i,1:3]), []).append(i)
edges.setdefault(tuple(F[i,[0,2]]), []).append(i)
neighbours = {}
class Histories(Callback):
def on_train_begin(self, logs={}):
self.epoch = []
self.history = {}
def on_train_end(self, logs={}):
return
def on_epoch_begin(self, epoch, logs={}):
self.batch = []
num_epoch = 50
print_freq = 10
class Histories(Callback):
def on_train_begin(self, logs={}):
self.epoch = []
self.history = {}
self.history["batch"] = []
def on_train_end(self, logs={}):
\begin{table}
\newcommand{\nlw}{\hspace{0cm}}
\newcommand{\tbf}{\textbf}
\newcommand{\tul}{\underline}
{\resizebox{\columnwidth}{!}{ % Use \textwidth for single column format.
\begin{tabular}{L{1.9cm} C{1cm} C{1cm} C{1cm} C{1.2cm} C{1cm}} % Set number of columns and their widths.
\toprule %
& \tbf{PCA} & \tbf{AE} & \tbf{AE} & \tbf{TOG15} & \tbf{1D} \\
& \tbf{\& NN} & \tbf{\& RF} & \tbf{\& NN} & \tbf{\cite{guo2015}} & \textbf{CNN} \\ \midrule
\tbf{Airplane} & 92.97 & 92.62 & 92.53 & 94.56 & \tbf{95.30} \\ \midrule