Пример #1
0
 def get_model_config(self, model_num=0):
     """Returns model bindings and config file."""
     config = get_config()[model_num]
     model_bindings = h.to_bindings(config)
     model_config_file = resources.get_file(
         "config/balanced_vae_study_v1/model_configs/shared.gin")
     return model_bindings, model_config_file
Пример #2
0
 def get_model_config(self, model_num=0):
     """Returns model bindings and config file."""
     config = get_config()[model_num]
     model_bindings = h.to_bindings(config)
     model_config_file = resources.get_file(
         "config/abstract_reasoning_study_v1/stage1/model_configs/shared.gin"
     )
     return model_bindings, model_config_file