def getModelParamsFromName(gymName):
 importName = ('model_params.%s_model_params' % gymName.replace(' ', '_').replace('-', '_'))
 print ('Importing model params from %s' % importName)
 try:
  importedModelParams = importlib.import_module(importName).MODEL_PARAMS
 except ImportError:
  raise Exception(("No model params exist for '%s'. Run swarm first!" % gymName))
 return importedModelParams

def getModelParamsFromName ( gymName ) : importName = ( 'model_params.%s_model_params' % gymName . replace ( ' ' , '_' ) . replace ( '-' , '_' ) ) print ( 'Importing model params from %s' % importName ) try : importedModelParams = importlib . import_module ( importName ) . MODEL_PARAMS except ImportError : raise Exception ( ( "No model params exist for '%s'. Run swarm first!" % gymName ) ) return importedModelParams
given a gym name .