Hello,
Is it possible in C++?

  
    
    
    Visualize feature map vision
  
  
    You can just use a plot library like matplotlib to visualize the output. 


Sure! You could use some loss function like nn.BCELoss as your criterion to reconstruct the images. 


Forward hooks are a good choice to get the activation map for a certain input. 


Here is a small code example as a starter: 
import torch
import torch.nn as nn
import torch.optim as optim
import torch.nn.functional as F
from torch.utils.data import DataLoader

import torchvision.transforms as transforms
import torchv…
  


Thanks,