2021-06-01 22:49:36 +00:00
|
|
|
"""Visualization Callbacks."""
|
2021-04-23 15:28:03 +00:00
|
|
|
|
2022-06-02 17:55:03 +00:00
|
|
|
import os
|
2022-05-17 10:00:52 +00:00
|
|
|
import warnings
|
|
|
|
from typing import Sized
|
|
|
|
|
2021-04-23 15:28:03 +00:00
|
|
|
import numpy as np
|
2021-04-29 15:05:41 +00:00
|
|
|
import pytorch_lightning as pl
|
2021-04-23 15:28:03 +00:00
|
|
|
import torch
|
2021-05-12 14:36:22 +00:00
|
|
|
import torchvision
|
2021-04-23 15:28:03 +00:00
|
|
|
from matplotlib import pyplot as plt
|
2022-05-16 09:12:53 +00:00
|
|
|
from prototorch.utils.colors import get_colors, get_legend_handles
|
|
|
|
from prototorch.utils.utils import mesh2d
|
2022-05-17 10:00:52 +00:00
|
|
|
from pytorch_lightning.loggers import TensorBoardLogger
|
2021-05-17 14:59:22 +00:00
|
|
|
from torch.utils.data import DataLoader, Dataset
|
2021-04-29 15:05:41 +00:00
|
|
|
|
|
|
|
|
2021-04-29 17:09:10 +00:00
|
|
|
class Vis2DAbstract(pl.Callback):
|
2022-01-11 17:28:50 +00:00
|
|
|
|
2021-04-29 15:05:41 +00:00
|
|
|
def __init__(self,
|
2022-03-29 09:26:22 +00:00
|
|
|
data=None,
|
2021-04-29 15:05:41 +00:00
|
|
|
title="Prototype Visualization",
|
2021-04-29 17:09:10 +00:00
|
|
|
cmap="viridis",
|
2022-03-09 12:59:19 +00:00
|
|
|
xlabel="Data dimension 1",
|
|
|
|
ylabel="Data dimension 2",
|
2022-03-10 14:24:44 +00:00
|
|
|
legend_labels=None,
|
2021-05-17 14:59:22 +00:00
|
|
|
border=0.1,
|
|
|
|
resolution=100,
|
2021-05-20 14:07:16 +00:00
|
|
|
flatten_data=True,
|
2021-05-17 14:59:22 +00:00
|
|
|
axis_off=False,
|
2021-05-09 18:53:03 +00:00
|
|
|
show_protos=True,
|
2021-05-12 14:36:22 +00:00
|
|
|
show=True,
|
2021-05-03 11:19:23 +00:00
|
|
|
tensorboard=False,
|
2021-04-29 17:09:10 +00:00
|
|
|
show_last_only=False,
|
2021-05-07 13:22:54 +00:00
|
|
|
pause_time=0.1,
|
2022-06-02 17:55:03 +00:00
|
|
|
save=False,
|
|
|
|
save_dir="./img",
|
|
|
|
fig_size=(5, 4),
|
|
|
|
dpi=500,
|
2021-04-29 17:09:10 +00:00
|
|
|
block=False):
|
2021-04-29 15:05:41 +00:00
|
|
|
super().__init__()
|
2021-05-07 13:22:54 +00:00
|
|
|
|
2022-03-29 09:26:22 +00:00
|
|
|
if data:
|
|
|
|
if isinstance(data, Dataset):
|
2022-05-17 10:00:52 +00:00
|
|
|
if isinstance(data, Sized):
|
|
|
|
x, y = next(iter(DataLoader(data, batch_size=len(data))))
|
|
|
|
else:
|
|
|
|
# TODO: Add support for non-sized datasets
|
|
|
|
raise NotImplementedError(
|
|
|
|
"Data must be a dataset with a __len__ method.")
|
|
|
|
elif isinstance(data, DataLoader):
|
2022-03-29 09:26:22 +00:00
|
|
|
x = torch.tensor([])
|
|
|
|
y = torch.tensor([])
|
|
|
|
for x_b, y_b in data:
|
|
|
|
x = torch.cat([x, x_b])
|
|
|
|
y = torch.cat([y, y_b])
|
|
|
|
else:
|
|
|
|
x, y = data
|
2021-05-20 14:07:16 +00:00
|
|
|
|
2022-03-29 09:26:22 +00:00
|
|
|
if flatten_data:
|
|
|
|
x = x.reshape(len(x), -1)
|
2021-05-20 14:07:16 +00:00
|
|
|
|
2022-03-29 09:26:22 +00:00
|
|
|
self.x_train = x
|
|
|
|
self.y_train = y
|
|
|
|
else:
|
|
|
|
self.x_train = None
|
|
|
|
self.y_train = None
|
2021-05-07 13:22:54 +00:00
|
|
|
|
2021-04-29 15:05:41 +00:00
|
|
|
self.title = title
|
2022-03-09 12:59:19 +00:00
|
|
|
self.xlabel = xlabel
|
|
|
|
self.ylabel = ylabel
|
2022-03-10 14:24:44 +00:00
|
|
|
self.legend_labels = legend_labels
|
2021-04-29 15:05:41 +00:00
|
|
|
self.fig = plt.figure(self.title)
|
|
|
|
self.cmap = cmap
|
2021-04-29 20:36:10 +00:00
|
|
|
self.border = border
|
2021-05-07 13:22:54 +00:00
|
|
|
self.resolution = resolution
|
2021-05-17 14:59:22 +00:00
|
|
|
self.axis_off = axis_off
|
2021-05-09 18:53:03 +00:00
|
|
|
self.show_protos = show_protos
|
2021-05-12 14:36:22 +00:00
|
|
|
self.show = show
|
2021-05-03 11:19:23 +00:00
|
|
|
self.tensorboard = tensorboard
|
2021-04-29 17:09:10 +00:00
|
|
|
self.show_last_only = show_last_only
|
2021-05-07 13:22:54 +00:00
|
|
|
self.pause_time = pause_time
|
2022-06-02 17:55:03 +00:00
|
|
|
self.save = save
|
|
|
|
self.save_dir = save_dir
|
|
|
|
self.fig_size = fig_size
|
|
|
|
self.dpi = dpi
|
2021-04-29 17:09:10 +00:00
|
|
|
self.block = block
|
2021-04-29 15:05:41 +00:00
|
|
|
|
2022-06-02 17:55:03 +00:00
|
|
|
if save:
|
|
|
|
if not os.path.exists(save_dir):
|
|
|
|
os.makedirs(save_dir)
|
|
|
|
|
2021-05-09 18:53:03 +00:00
|
|
|
def precheck(self, trainer):
|
|
|
|
if self.show_last_only:
|
|
|
|
if trainer.current_epoch != trainer.max_epochs - 1:
|
2021-05-11 14:09:27 +00:00
|
|
|
return False
|
|
|
|
return True
|
2021-05-09 18:53:03 +00:00
|
|
|
|
2022-03-09 12:59:19 +00:00
|
|
|
def setup_ax(self):
|
2021-05-07 13:22:54 +00:00
|
|
|
ax = self.fig.gca()
|
|
|
|
ax.cla()
|
|
|
|
ax.set_title(self.title)
|
2022-03-09 12:59:19 +00:00
|
|
|
ax.set_xlabel(self.xlabel)
|
|
|
|
ax.set_ylabel(self.ylabel)
|
2021-05-17 14:59:22 +00:00
|
|
|
if self.axis_off:
|
|
|
|
ax.axis("off")
|
2021-05-07 13:22:54 +00:00
|
|
|
return ax
|
|
|
|
|
2021-05-09 18:53:03 +00:00
|
|
|
def plot_data(self, ax, x, y):
|
|
|
|
ax.scatter(
|
|
|
|
x[:, 0],
|
|
|
|
x[:, 1],
|
|
|
|
c=y,
|
|
|
|
cmap=self.cmap,
|
|
|
|
edgecolor="k",
|
|
|
|
marker="o",
|
|
|
|
s=30,
|
|
|
|
)
|
|
|
|
|
|
|
|
def plot_protos(self, ax, protos, plabels):
|
|
|
|
ax.scatter(
|
|
|
|
protos[:, 0],
|
|
|
|
protos[:, 1],
|
|
|
|
c=plabels,
|
|
|
|
cmap=self.cmap,
|
|
|
|
edgecolor="k",
|
|
|
|
marker="D",
|
|
|
|
s=50,
|
|
|
|
)
|
|
|
|
|
2021-05-03 11:19:23 +00:00
|
|
|
def add_to_tensorboard(self, trainer, pl_module):
|
|
|
|
tb = pl_module.logger.experiment
|
|
|
|
tb.add_figure(tag=f"{self.title}",
|
|
|
|
figure=self.fig,
|
|
|
|
global_step=trainer.current_epoch,
|
|
|
|
close=False)
|
|
|
|
|
2021-05-07 13:22:54 +00:00
|
|
|
def log_and_display(self, trainer, pl_module):
|
|
|
|
if self.tensorboard:
|
|
|
|
self.add_to_tensorboard(trainer, pl_module)
|
2022-06-02 17:55:03 +00:00
|
|
|
if self.save:
|
|
|
|
plt.tight_layout()
|
|
|
|
self.fig.set_size_inches(*self.fig_size, forward=False)
|
|
|
|
plt.savefig(f"{self.save_dir}/{trainer.current_epoch}.png",
|
|
|
|
dpi=self.dpi)
|
2021-05-12 14:36:22 +00:00
|
|
|
if self.show:
|
|
|
|
if not self.block:
|
|
|
|
plt.pause(self.pause_time)
|
|
|
|
else:
|
2021-05-18 08:13:22 +00:00
|
|
|
plt.show(block=self.block)
|
2021-05-07 13:22:54 +00:00
|
|
|
|
2022-05-17 10:00:52 +00:00
|
|
|
def on_train_epoch_end(self, trainer, pl_module):
|
2022-02-02 20:45:44 +00:00
|
|
|
if not self.precheck(trainer):
|
|
|
|
return True
|
|
|
|
self.visualize(pl_module)
|
|
|
|
self.log_and_display(trainer, pl_module)
|
|
|
|
|
2021-05-10 12:30:02 +00:00
|
|
|
def on_train_end(self, trainer, pl_module):
|
2021-05-18 08:13:22 +00:00
|
|
|
plt.close()
|
2021-05-10 12:30:02 +00:00
|
|
|
|
2022-05-17 10:00:52 +00:00
|
|
|
def visualize(self, pl_module):
|
|
|
|
raise NotImplementedError
|
|
|
|
|
2021-04-29 17:09:10 +00:00
|
|
|
|
|
|
|
class VisGLVQ2D(Vis2DAbstract):
|
2022-01-11 17:28:50 +00:00
|
|
|
|
2022-02-02 20:45:44 +00:00
|
|
|
def visualize(self, pl_module):
|
2021-04-29 15:05:41 +00:00
|
|
|
protos = pl_module.prototypes
|
|
|
|
plabels = pl_module.prototype_labels
|
|
|
|
x_train, y_train = self.x_train, self.y_train
|
2022-03-09 12:59:19 +00:00
|
|
|
ax = self.setup_ax()
|
2021-05-09 18:53:03 +00:00
|
|
|
self.plot_protos(ax, protos, plabels)
|
2022-03-29 09:26:22 +00:00
|
|
|
if x_train is not None:
|
|
|
|
self.plot_data(ax, x_train, y_train)
|
|
|
|
mesh_input, xx, yy = mesh2d(np.vstack([x_train, protos]),
|
|
|
|
self.border, self.resolution)
|
|
|
|
else:
|
|
|
|
mesh_input, xx, yy = mesh2d(protos, self.border, self.resolution)
|
2021-05-13 13:22:01 +00:00
|
|
|
_components = pl_module.proto_layer._components
|
2021-06-04 20:20:32 +00:00
|
|
|
mesh_input = torch.from_numpy(mesh_input).type_as(_components)
|
2021-05-17 14:59:22 +00:00
|
|
|
y_pred = pl_module.predict(mesh_input)
|
2021-05-13 13:22:01 +00:00
|
|
|
y_pred = y_pred.cpu().reshape(xx.shape)
|
2021-04-29 15:05:41 +00:00
|
|
|
ax.contourf(xx, yy, y_pred, cmap=self.cmap, alpha=0.35)
|
2021-05-07 13:22:54 +00:00
|
|
|
|
2021-04-29 15:05:41 +00:00
|
|
|
|
2021-04-29 17:09:10 +00:00
|
|
|
class VisSiameseGLVQ2D(Vis2DAbstract):
|
2022-01-11 17:28:50 +00:00
|
|
|
|
2021-05-09 18:53:03 +00:00
|
|
|
def __init__(self, *args, map_protos=True, **kwargs):
|
|
|
|
super().__init__(*args, **kwargs)
|
|
|
|
self.map_protos = map_protos
|
|
|
|
|
2022-02-02 20:45:44 +00:00
|
|
|
def visualize(self, pl_module):
|
2021-04-29 15:05:41 +00:00
|
|
|
protos = pl_module.prototypes
|
|
|
|
plabels = pl_module.prototype_labels
|
|
|
|
x_train, y_train = self.x_train, self.y_train
|
2021-05-17 14:59:22 +00:00
|
|
|
device = pl_module.device
|
|
|
|
with torch.no_grad():
|
|
|
|
x_train = pl_module.backbone(torch.Tensor(x_train).to(device))
|
|
|
|
x_train = x_train.cpu().detach()
|
2021-05-09 18:53:03 +00:00
|
|
|
if self.map_protos:
|
2021-05-17 14:59:22 +00:00
|
|
|
with torch.no_grad():
|
|
|
|
protos = pl_module.backbone(torch.Tensor(protos).to(device))
|
|
|
|
protos = protos.cpu().detach()
|
2021-05-07 13:22:54 +00:00
|
|
|
ax = self.setup_ax()
|
2021-05-09 18:53:03 +00:00
|
|
|
self.plot_data(ax, x_train, y_train)
|
2021-05-15 10:52:44 +00:00
|
|
|
if self.show_protos:
|
|
|
|
self.plot_protos(ax, protos, plabels)
|
|
|
|
x = np.vstack((x_train, protos))
|
2021-06-18 11:43:44 +00:00
|
|
|
mesh_input, xx, yy = mesh2d(x, self.border, self.resolution)
|
2021-05-15 10:52:44 +00:00
|
|
|
else:
|
2021-06-18 11:43:44 +00:00
|
|
|
mesh_input, xx, yy = mesh2d(x_train, self.border, self.resolution)
|
2021-05-15 10:52:44 +00:00
|
|
|
_components = pl_module.proto_layer._components
|
2021-05-17 14:59:22 +00:00
|
|
|
mesh_input = torch.Tensor(mesh_input).type_as(_components)
|
|
|
|
y_pred = pl_module.predict_latent(mesh_input,
|
|
|
|
map_protos=self.map_protos)
|
2021-05-15 10:52:44 +00:00
|
|
|
y_pred = y_pred.cpu().reshape(xx.shape)
|
|
|
|
ax.contourf(xx, yy, y_pred, cmap=self.cmap, alpha=0.35)
|
2021-05-07 13:22:54 +00:00
|
|
|
|
|
|
|
|
2021-09-01 08:49:57 +00:00
|
|
|
class VisGMLVQ2D(Vis2DAbstract):
|
2022-01-11 17:28:50 +00:00
|
|
|
|
2021-09-01 08:49:57 +00:00
|
|
|
def __init__(self, *args, ev_proj=True, **kwargs):
|
|
|
|
super().__init__(*args, **kwargs)
|
|
|
|
self.ev_proj = ev_proj
|
|
|
|
|
2022-02-02 20:45:44 +00:00
|
|
|
def visualize(self, pl_module):
|
2021-09-01 08:49:57 +00:00
|
|
|
protos = pl_module.prototypes
|
|
|
|
plabels = pl_module.prototype_labels
|
|
|
|
x_train, y_train = self.x_train, self.y_train
|
|
|
|
device = pl_module.device
|
|
|
|
omega = pl_module._omega.detach()
|
|
|
|
lam = omega @ omega.T
|
|
|
|
u, _, _ = torch.pca_lowrank(lam, q=2)
|
|
|
|
with torch.no_grad():
|
|
|
|
x_train = torch.Tensor(x_train).to(device)
|
|
|
|
x_train = x_train @ u
|
|
|
|
x_train = x_train.cpu().detach()
|
|
|
|
if self.show_protos:
|
|
|
|
with torch.no_grad():
|
|
|
|
protos = torch.Tensor(protos).to(device)
|
|
|
|
protos = protos @ u
|
|
|
|
protos = protos.cpu().detach()
|
|
|
|
ax = self.setup_ax()
|
|
|
|
self.plot_data(ax, x_train, y_train)
|
|
|
|
if self.show_protos:
|
|
|
|
self.plot_protos(ax, protos, plabels)
|
|
|
|
|
|
|
|
|
2021-05-07 13:22:54 +00:00
|
|
|
class VisCBC2D(Vis2DAbstract):
|
2022-01-11 17:28:50 +00:00
|
|
|
|
2022-02-02 20:45:44 +00:00
|
|
|
def visualize(self, pl_module):
|
2021-05-07 13:22:54 +00:00
|
|
|
x_train, y_train = self.x_train, self.y_train
|
|
|
|
protos = pl_module.components
|
2022-03-30 13:10:06 +00:00
|
|
|
ax = self.setup_ax()
|
2021-05-09 18:53:03 +00:00
|
|
|
self.plot_data(ax, x_train, y_train)
|
2021-05-11 14:09:27 +00:00
|
|
|
self.plot_protos(ax, protos, "w")
|
2021-05-07 13:22:54 +00:00
|
|
|
x = np.vstack((x_train, protos))
|
2021-06-18 11:43:44 +00:00
|
|
|
mesh_input, xx, yy = mesh2d(x, self.border, self.resolution)
|
2021-06-15 13:59:47 +00:00
|
|
|
_components = pl_module.components_layer._components
|
2021-05-13 13:22:01 +00:00
|
|
|
y_pred = pl_module.predict(
|
|
|
|
torch.Tensor(mesh_input).type_as(_components))
|
|
|
|
y_pred = y_pred.cpu().reshape(xx.shape)
|
2021-04-29 15:05:41 +00:00
|
|
|
|
2021-05-07 13:22:54 +00:00
|
|
|
ax.contourf(xx, yy, y_pred, cmap=self.cmap, alpha=0.35)
|
|
|
|
|
2021-04-29 15:05:41 +00:00
|
|
|
|
2021-04-29 17:09:10 +00:00
|
|
|
class VisNG2D(Vis2DAbstract):
|
2022-01-11 17:28:50 +00:00
|
|
|
|
2022-02-02 20:45:44 +00:00
|
|
|
def visualize(self, pl_module):
|
2021-05-07 13:22:54 +00:00
|
|
|
x_train, y_train = self.x_train, self.y_train
|
2021-04-29 15:05:41 +00:00
|
|
|
protos = pl_module.prototypes
|
|
|
|
cmat = pl_module.topology_layer.cmat.cpu().numpy()
|
|
|
|
|
2022-03-30 13:10:06 +00:00
|
|
|
ax = self.setup_ax()
|
2021-05-09 18:53:03 +00:00
|
|
|
self.plot_data(ax, x_train, y_train)
|
|
|
|
self.plot_protos(ax, protos, "w")
|
2021-04-29 15:05:41 +00:00
|
|
|
|
|
|
|
# Draw connections
|
|
|
|
for i in range(len(protos)):
|
2021-05-09 18:53:03 +00:00
|
|
|
for j in range(i, len(protos)):
|
2021-04-29 15:05:41 +00:00
|
|
|
if cmat[i][j]:
|
|
|
|
ax.plot(
|
|
|
|
[protos[i, 0], protos[j, 0]],
|
|
|
|
[protos[i, 1], protos[j, 1]],
|
|
|
|
"k-",
|
|
|
|
)
|
|
|
|
|
2021-05-12 14:36:22 +00:00
|
|
|
|
2022-03-10 14:24:44 +00:00
|
|
|
class VisSpectralProtos(Vis2DAbstract):
|
|
|
|
|
|
|
|
def visualize(self, pl_module):
|
|
|
|
protos = pl_module.prototypes
|
|
|
|
plabels = pl_module.prototype_labels
|
|
|
|
ax = self.setup_ax()
|
|
|
|
colors = get_colors(vmax=max(plabels), vmin=min(plabels))
|
|
|
|
for p, pl in zip(protos, plabels):
|
|
|
|
ax.plot(p, c=colors[int(pl)])
|
|
|
|
if self.legend_labels:
|
|
|
|
handles = get_legend_handles(
|
|
|
|
colors,
|
|
|
|
self.legend_labels,
|
|
|
|
marker="lines",
|
|
|
|
)
|
|
|
|
ax.legend(handles=handles)
|
|
|
|
|
|
|
|
|
2021-05-12 14:36:22 +00:00
|
|
|
class VisImgComp(Vis2DAbstract):
|
2022-01-11 17:28:50 +00:00
|
|
|
|
2021-05-12 14:36:22 +00:00
|
|
|
def __init__(self,
|
|
|
|
*args,
|
|
|
|
random_data=0,
|
|
|
|
dataformats="CHW",
|
2021-05-25 13:41:10 +00:00
|
|
|
num_columns=2,
|
2021-05-20 14:07:16 +00:00
|
|
|
add_embedding=False,
|
|
|
|
embedding_data=100,
|
2021-05-12 14:36:22 +00:00
|
|
|
**kwargs):
|
|
|
|
super().__init__(*args, **kwargs)
|
|
|
|
self.random_data = random_data
|
|
|
|
self.dataformats = dataformats
|
2021-05-25 13:41:10 +00:00
|
|
|
self.num_columns = num_columns
|
2021-05-20 14:07:16 +00:00
|
|
|
self.add_embedding = add_embedding
|
|
|
|
self.embedding_data = embedding_data
|
|
|
|
|
2022-05-17 10:00:52 +00:00
|
|
|
def on_train_start(self, _, pl_module):
|
|
|
|
if isinstance(pl_module.logger, TensorBoardLogger):
|
|
|
|
tb = pl_module.logger.experiment
|
|
|
|
|
|
|
|
# Add embedding
|
|
|
|
if self.add_embedding:
|
|
|
|
if self.x_train is not None and self.y_train is not None:
|
|
|
|
ind = np.random.choice(len(self.x_train),
|
|
|
|
size=self.embedding_data,
|
|
|
|
replace=False)
|
|
|
|
data = self.x_train[ind]
|
|
|
|
tb.add_embedding(data.view(len(ind), -1),
|
|
|
|
label_img=data,
|
|
|
|
global_step=None,
|
|
|
|
tag="Data Embedding",
|
|
|
|
metadata=self.y_train[ind],
|
|
|
|
metadata_header=None)
|
|
|
|
else:
|
|
|
|
raise ValueError("No data for add embedding flag")
|
|
|
|
|
|
|
|
# Random Data
|
|
|
|
if self.random_data:
|
|
|
|
if self.x_train is not None:
|
|
|
|
ind = np.random.choice(len(self.x_train),
|
|
|
|
size=self.random_data,
|
|
|
|
replace=False)
|
|
|
|
data = self.x_train[ind]
|
|
|
|
grid = torchvision.utils.make_grid(data,
|
|
|
|
nrow=self.num_columns)
|
|
|
|
tb.add_image(tag="Data",
|
|
|
|
img_tensor=grid,
|
|
|
|
global_step=None,
|
|
|
|
dataformats=self.dataformats)
|
|
|
|
else:
|
|
|
|
raise ValueError("No data for random data flag")
|
|
|
|
|
|
|
|
else:
|
|
|
|
warnings.warn(
|
|
|
|
f"TensorBoardLogger is required, got {type(pl_module.logger)}")
|
2021-05-12 14:36:22 +00:00
|
|
|
|
|
|
|
def add_to_tensorboard(self, trainer, pl_module):
|
|
|
|
tb = pl_module.logger.experiment
|
|
|
|
|
|
|
|
components = pl_module.components
|
2021-05-25 13:41:10 +00:00
|
|
|
grid = torchvision.utils.make_grid(components, nrow=self.num_columns)
|
2021-05-12 14:36:22 +00:00
|
|
|
tb.add_image(
|
|
|
|
tag="Components",
|
|
|
|
img_tensor=grid,
|
|
|
|
global_step=trainer.current_epoch,
|
|
|
|
dataformats=self.dataformats,
|
|
|
|
)
|
|
|
|
|
2022-02-02 20:45:44 +00:00
|
|
|
def visualize(self, pl_module):
|
2021-05-18 08:13:22 +00:00
|
|
|
if self.show:
|
|
|
|
components = pl_module.components
|
2021-05-25 13:41:10 +00:00
|
|
|
grid = torchvision.utils.make_grid(components,
|
|
|
|
nrow=self.num_columns)
|
2021-05-18 08:13:22 +00:00
|
|
|
plt.imshow(grid.permute((1, 2, 0)).cpu(), cmap=self.cmap)
|