Bugfix to run the code on windows machines.
This commit is contained in:
		
							parent
							
								
									f81eafd2aa
								
							
						
					
					
						commit
						afd82ac354
					
				
							
								
								
									
										2
									
								
								main.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								main.py
									
									
									
									
									
								
							@ -16,6 +16,8 @@ import os
 | 
				
			|||||||
import models.dcgan as dcgan
 | 
					import models.dcgan as dcgan
 | 
				
			||||||
import models.mlp as mlp
 | 
					import models.mlp as mlp
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if __name__=="__main__":
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    parser = argparse.ArgumentParser()
 | 
					    parser = argparse.ArgumentParser()
 | 
				
			||||||
    parser.add_argument('--dataset', required=True, help='cifar10 | lsun | imagenet | folder | lfw ')
 | 
					    parser.add_argument('--dataset', required=True, help='cifar10 | lsun | imagenet | folder | lfw ')
 | 
				
			||||||
    parser.add_argument('--dataroot', required=True, help='path to dataset')
 | 
					    parser.add_argument('--dataroot', required=True, help='path to dataset')
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user