Spaces:
Runtime error
Runtime error
| class Config(object): | |
| # DATA | |
| batch_size = 256 | |
| buffer_size = batch_size * 2 | |
| input_shape = (32, 32, 3) | |
| num_classes = 10 | |
| # AUGMENTATION | |
| image_size = 48 | |
| # ARCHITECTURE | |
| patch_size = 4 | |
| projected_dim = 96 | |
| num_shift_blocks_per_stages = [2, 4, 8, 2] | |
| epsilon = 1e-5 | |
| stochastic_depth_rate = 0.2 | |
| mlp_dropout_rate = 0.2 | |
| num_div = 12 | |
| shift_pixel = 1 | |
| mlp_expand_ratio = 2 | |
| # OPTIMIZER | |
| lr_start = 1e-5 | |
| lr_max = 1e-3 | |
| weight_decay = 1e-4 | |
| # TRAINING | |
| epochs = 100 | |
| class_vocab={0:"airplane",1:"automobile",2:"bird",3:"cat",4:"deer",5:"dog",6:"frog",7:"horse",8:"ship", 9:"truck"} | |