code: def test_mmbt_directly_from_config(self):
      config = OmegaConf.structured(
          MMBT.Config(
              modal_encoder=ImageEncoderFactory.Config(
                  type=ImageEncoderTypes.resnet152,
                  params=ResNet152ImageEncoder.Config(pretrained=False),
              ),
              text_encoder=TextEncoderFactory.Config(
                  type=TextEncoderTypes.identity
              ),
          )
      )
      mmbt = MMBT(config)
      self.assertIsNotNone(mmbt)
      # Make sure that the config is created from MMBT.Config
      self.assertEqual(mmbt.config, config)
  
imports: import gc
  import unittest
  import tests.test_utils
  import torch
  from mmf.common.sample import Sample, SampleList
  from mmf.models.mmbt import MMBT
  from mmf.modules.encoders import ImageEncoderFactory, ImageEncoderTypes, ResNet152ImageEncoder, TextEncoderFactory, TextEncoderTypes
  from mmf.modules.hf_layers import undo_replace_with_jit
  from mmf.utils.build import build_model
  from mmf.utils.configuration import Configuration
  from mmf.utils.env import setup_imports, teardown_imports
  from omegaconf import OmegaConf
label_desc: Use image node_id 4 for calling the TestMMBTConfig obj's underlying member method code with example usage: obj.test_mmbt_directly_from_config() without return types