mirror of https://github.com/XingangPan/DragGAN
				
				
				
			
			You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			16 lines
		
	
	
		
			596 B
		
	
	
	
		
			Python
		
	
			
		
		
	
	
			16 lines
		
	
	
		
			596 B
		
	
	
	
		
			Python
		
	
# Copyright (c) SenseTime Research. All rights reserved.
 | 
						|
 | 
						|
attr_dict = dict(
 | 
						|
    interface_gan={ # strength
 | 
						|
        'upper_length': [-1], # strength: negative for shorter, positive for longer
 | 
						|
        'bottom_length': [1]
 | 
						|
    },
 | 
						|
    stylespace={ # layer, strength, threshold
 | 
						|
        'upper_length': [5, -5, 0.0028],  # strength: negative for shorter, positive for longer
 | 
						|
        'bottom_length': [3, 5, 0.003] 
 | 
						|
    },
 | 
						|
    sefa={ # layer, strength
 | 
						|
        'upper_length': [[4, 5, 6, 7], 5], #-5 # strength: negative for longer, positive for shorter
 | 
						|
        'bottom_length': [[4, 5, 6, 7], 5]
 | 
						|
    }
 | 
						|
) |