class_docstr: Abstract model class with some utilities function.
class_docstr_tok: ["Abstract","model","class","with","some","utilities","function","."]
docstr: This function should build/load the model.
  
  Args:
      config: The specifications for the model be build/loaded
docstr_tok: ["This","function","should","build\/load","the","model",".","Args",":","config",":","The","specifications","for","the","model","be","build\/loaded"]
code: def from_config(config: ModelConfig) -> ModelBase[ModelConfig]:
      """This function should build/load the model.
  
      Args:
          config: The specifications for the model be build/loaded
      """
      raise NotImplementedError
  
file_path: kornia/kornia/contrib/models/base.py
imports: from __future__ import annotations
  import os
  from abc import ABC, abstractmethod
  from typing import Any, Generic, Optional, TypeVar, cast
  import torch
  from kornia.core import Module
label_desc: Use image node_id 2 for calling the ModelBase obj's underlying member method code with example usage: obj.from_config(config) without return types