code: def test_try_models(self):
      # Test is source code is deployed in FLAGS.test_srcdir
      spec_path = os.path.join(FLAGS.test_srcdir, constants.DEFAULT_CNN)
      trainer = single_trainer.SingleTrainer(
          data=image_data.Provider(
              input_dir=os.path.join(
                  FLAGS.test_srcdir,
                  "model_search/model_search/data/testdata/images",
              ),
              image_width=100,
              image_height=100,
              eval_fraction=0.2,
          ),
          spec=spec_path,
      )
  
      trainer.try_models(
          number_models=7,
          train_steps=10,
          eval_steps=10,
          root_dir=FLAGS.test_tmpdir,
          batch_size=2,
          experiment_name="test",
          experiment_owner="test",
      )
  
file_path: model_search/model_search/data/image_data_test.py
imports: import os
  from absl import flags
  from absl.testing import absltest
  from model_search import constants
  from model_search import single_trainer
  from model_search.data import image_data
label_desc: Use image node_id 1 for calling the SingleTrainerTest obj's underlying member method code with example usage: obj.test_try_models() without return types