class_docstr: A factory class that initializes an implicit rendering model.
  
  Members:
      model: An ImplicitronModelBase object.
      resume: If True, attempt to load the last checkpoint from `exp_dir`
          passed to __call__. Failure to do so will return a model with ini-
          tial weights unless `force_resume` is True.
      resume_epoch: If `resume` is True: Resume a model at this epoch, or if
          `resume_epoch` <= 0, then resume from the latest checkpoint.
      force_resume: If True, throw a FileNotFoundError if `resume` is True but
          a model checkpoint cannot be found.
class_docstr_tok: ["A","factory","class","that","initializes","an","implicit","rendering","model",".","Members",":","model",":","An","ImplicitronModelBase","object",".","resume",":","If","True",",","attempt","to","load","the","last","checkpoint","from","`","exp_dir","`","passed","to","__call__",".","Failure","to","do","so","will","return","a","model","with","ini-","tial","weights","unless","`","force_resume","`","is","True",".","resume_epoch",":","If","`","resume","`","is","True",":","Resume","a","model","at","this","epoch",",","or","if","`","resume_epoch","`","<","=","0",",","then","resume","from","the","latest","checkpoint",".","force_resume",":","If","True",",","throw","a","FileNotFoundError","if","`","resume","`","is","True","but","a","model","checkpoint","can","not","be","found","."]
code: def __post_init__(self):
      run_auto_creation(self)
  
file_path: pytorch3d/projects/implicitron_trainer/impl/model_factory.py
imports: import logging
  import os
  from typing import Optional
  import torch.optim
  from accelerate import Accelerator
  from pytorch3d.implicitron.models.base_model import ImplicitronModelBase
  from pytorch3d.implicitron.tools import model_io
  from pytorch3d.implicitron.tools.config import registry, ReplaceableBase, run_auto_creation
  from pytorch3d.implicitron.tools.stats import Stats
label_desc: Use image node_id 1 for calling the ImplicitronModelFactory obj's underlying member method code with example usage: obj.__post_init__() without return types