Unanswered
			
			
 
			
	
		
			
		
		
		
		
	
			
		
		Hello, I Would Like To Optimize Hparams Saved In Configuration Objects. I Used Hydra And Omegaconf For Hparams Definition (See Img). How Should I Define The Name Of Hparam In
I actually think I do this. Purpose of  normalize_and_flat_config  is just to take hparams DictConfig with possibly nested structure and flatten it to dict with direct key value dict. For instance:{ 'model' : { 'class' : Resnet, 'input_size' : [112, 112, 3] } }is simplified to{ 'model.class' : Resnet, 'model.input_size' : [112, 112, 3] }so in my case  normalize_and_flat_config(hparams)  is actually your  overrides  . And as you suggest I tried to remove  Task.connect_configuration  and just keep the  Task.connect  . But thanks to you I realized one thing: I use  hparams  further in the code, not  normalize_and_flat_config(hparams)  . So, viewing it in types, I am using  DictConfig  and not  dict  and that might be the problem. Wdyt?
333 Views
				0
Answers
				
					 
	3 years ago
				
					
						 
	2 years ago