This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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={}): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 = {} |