class_docstr: Show learned filters for specific thetas in TensorBoard.
      
class_docstr_tok: ["Show","learned","filters","for","specific","thetas","in","TensorBoard","."]
code: def __init__(self):
      # generate 32 filters (8 different, 4 times repeated)
      self.theta = (
          np.array([i for _ in range(4) for i in range(8)])
          / 8.0
          * 2
          * np.pi
      )
      self.filters = np.array(
          [ThetaImages.get_filter(t) for t in self.theta]
      )
      self.cc = 0
  
imports: import argparse
  import multiprocessing
  import numpy
  import cv2
  import tensorflow
  from scipy.signal import convolve2d
  from tensorpack import *
  from tensorpack.dataflow import dataset
  from tensorpack.utils import logger
  from tensorpack.utils.gpu import change_gpu
  from tensorpack.utils.argtools import shape2d, shape4d
  from tensorpack.utils.viz import *
label_desc: Use image node_id 1 to create a new OnlineTensorboardExport object from inherited base classes: Callback with example: obj = OnlineTensorboardExport()