Update yaml configs
This commit is contained in:
		| @@ -1,7 +0,0 @@ | ||||
| class_or_func: CIFAR10 | ||||
| module_path: torchvision.datasets | ||||
| args: [] | ||||
| kwargs: | ||||
|   train: False | ||||
|   download: True | ||||
|   transform: null | ||||
| @@ -1,7 +0,0 @@ | ||||
| class_or_func: CIFAR10 | ||||
| module_path: torchvision.datasets | ||||
| args: [] | ||||
| kwargs: | ||||
|   train: True | ||||
|   download: True | ||||
|   transform: null | ||||
							
								
								
									
										22
									
								
								configs/yaml.data/cifar10.test
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								configs/yaml.data/cifar10.test
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,22 @@ | ||||
| class_or_func: CIFAR10 | ||||
| module_path: torchvision.datasets | ||||
| args: [] | ||||
| kwargs: | ||||
|   train: False | ||||
|   download: True | ||||
|   transform: | ||||
|     class_or_func: Compose | ||||
|     module_path: torchvision.transforms | ||||
|     args: | ||||
|       - | ||||
|         - class_or_func: ToTensor | ||||
|           module_path: torchvision.transforms | ||||
|           args: [] | ||||
|           kwargs: {} | ||||
|         - class_or_func: Normalize | ||||
|           module_path: torchvision.transforms | ||||
|           args: [] | ||||
|           kwargs: | ||||
|             mean: (0.491, 0.482, 0.447) | ||||
|             std: (0.247, 0.244, 0.262) | ||||
|     kwargs: {} | ||||
							
								
								
									
										30
									
								
								configs/yaml.data/cifar10.train
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								configs/yaml.data/cifar10.train
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,30 @@ | ||||
| class_or_func: CIFAR10 | ||||
| module_path: torchvision.datasets | ||||
| args: [] | ||||
| kwargs: | ||||
|   train: True | ||||
|   download: True | ||||
|   transform: | ||||
|     class_or_func: Compose | ||||
|     module_path: torchvision.transforms | ||||
|     args: | ||||
|       - | ||||
|         - class_or_func: RandomHorizontalFlip | ||||
|           module_path: torchvision.transforms | ||||
|           args: [] | ||||
|           kwargs: {} | ||||
|         - class_or_func: RandomCrop | ||||
|           module_path: torchvision.transforms | ||||
|           args: [32] | ||||
|           kwargs: {padding: 4} | ||||
|         - class_or_func: ToTensor | ||||
|           module_path: torchvision.transforms | ||||
|           args: [] | ||||
|           kwargs: {} | ||||
|         - class_or_func: Normalize | ||||
|           module_path: torchvision.transforms | ||||
|           args: [] | ||||
|           kwargs: | ||||
|             mean: (0.491, 0.482, 0.447) | ||||
|             std: (0.247, 0.244, 0.262) | ||||
|     kwargs: {} | ||||
							
								
								
									
										4
									
								
								configs/yaml.loss/cross-entropy
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								configs/yaml.loss/cross-entropy
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| class_or_func: CrossEntropyLoss | ||||
| module_path: torch.nn | ||||
| args: [] | ||||
| kwargs: {} | ||||
							
								
								
									
										4
									
								
								configs/yaml.model/vit-cifar10.s0
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								configs/yaml.model/vit-cifar10.s0
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| class_or_func: get_transformer | ||||
| module_path: xautodl.xmodels.transformers | ||||
| args: [vit-cifar10-p4-d4-h4-c32] | ||||
| kwargs: {} | ||||
							
								
								
									
										7
									
								
								configs/yaml.opt/vit.cifar
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								configs/yaml.opt/vit.cifar
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| class_or_func: Adam | ||||
| module_path: torch.optim | ||||
| args: [] | ||||
| kwargs: | ||||
|   betas: [0.9, 0.999] | ||||
|   weight_decay: 0.1 | ||||
|   amsgrad: False | ||||
		Reference in New Issue
	
	Block a user