class_docstr: Test TrainingConfig init
class_docstr_tok: ["Test","TrainingConfig","init"]
code: def test_trainconfig_init(self) -> None:
      conf = Path(__file__).parent / "config.yaml"
      ta = TrainingConfig()
      ta.load_from_yaml(conf)
      self.assertEqual(ta.epoch_num, 2)
  
imports: import unittest
  from pathlib import Path
  from towhee.trainer.training_config import TrainingConfig
label_desc: Use image node_id 1 for calling the TestTrainConfig obj's underlying member method code with example usage: obj.test_trainconfig_init() without return types