Gael Le Lan
		
	commited on
		
		
					Commit 
							
							·
						
						f8df20b
	
1
								Parent(s):
							
							9d0d223
								
fix default CFG
Browse files
    	
        audiocraft/models/flow.py
    CHANGED
    
    | 
         @@ -165,7 +165,7 @@ class FlowModel(torch.nn.Module): 
     | 
|
| 165 | 
         
             
                    weight_init: tp.Optional[str] = None,
         
     | 
| 166 | 
         
             
                    depthwise_init: tp.Optional[str] = None,
         
     | 
| 167 | 
         
             
                    zero_bias_init: bool = False,
         
     | 
| 168 | 
         
            -
                    cfg_coef: float =  
     | 
| 169 | 
         
             
                    **kwargs
         
     | 
| 170 | 
         
             
                ):
         
     | 
| 171 | 
         
             
                    super().__init__()
         
     | 
| 
         | 
|
| 165 | 
         
             
                    weight_init: tp.Optional[str] = None,
         
     | 
| 166 | 
         
             
                    depthwise_init: tp.Optional[str] = None,
         
     | 
| 167 | 
         
             
                    zero_bias_init: bool = False,
         
     | 
| 168 | 
         
            +
                    cfg_coef: float = 4.0,
         
     | 
| 169 | 
         
             
                    **kwargs
         
     | 
| 170 | 
         
             
                ):
         
     | 
| 171 | 
         
             
                    super().__init__()
         
     |