class_docstr: Run length encoding of a mask.
  
  Don't instantiate this class directly, instead use the classmethods
  `from_coco` and `from_kaggle`.
docstr: Described [here](https://stackoverflow.com/a/49547872/6772672)
docstr_tok: ["Described","[","here","]","(","https",":","\/\/stackoverflow.com\/a\/49547872\/6772672",")"]
code: def from_coco(cls, counts: Sequence[int]):
      """Described [here](https://stackoverflow.com/a/49547872/6772672)"""
      return cls(counts)
  
imports: from icevision.imports import *
  from icevision.utils import *
  from PIL import Image
label_desc: Use image node_id 7 for calling the RLE obj's underlying member method code with example usage: obj.from_coco(cls, counts) and returns: cls