class_docstr: A widget that provides an `ImagesCleaner` for a CNN `Learner`
class_docstr_tok: ["A","widget","that","provides","an","`","ImagesCleaner","`","for","a","CNN","`","Learner","`"]
code: def __init__(self, learn, **kwargs):
      vocab = learn.dls.vocab
      self.default = self.iw = ImagesCleaner(vocab, **kwargs)
      self.dd_cats = Dropdown(options=vocab)
      self.dd_ds = Dropdown(options=("Train", "Valid"))
      self.iwis = _get_iw_info(learn, 0), _get_iw_info(learn, 1)
      self.dd_ds.observe(self.on_change_ds, "value")
      self.dd_cats.observe(self.on_change_ds, "value")
      self.on_change_ds()
      self.widget = VBox([self.dd_cats, self.dd_ds, self.iw.widget])
  
imports: from __future__ import annotations
  from ..torch_basics import *
  from ..data.all import *
  from .core import *
  from fastcore.parallel import *
  from ipywidgets import HBox, VBox, widgets, Button, Checkbox, Dropdown, Layout, Box, Output, Label, FileUpload
label_desc: Use image node_id 1 to create a new ImageClassifierCleaner object from inherited base classes: GetAttr with example: obj = ImageClassifierCleaner(learn)