Remove call to .eval(), update results in README, ignore .t7 files
This commit is contained in:
@@ -8,7 +8,7 @@ from statistics import mean
|
||||
|
||||
parser = argparse.ArgumentParser(description='NAS Without Training')
|
||||
parser.add_argument('--data_loc', default='../datasets/cifar', type=str, help='dataset folder')
|
||||
parser.add_argument('--api_loc', default='NAS-Bench-201-v1_1-096897.pth',
|
||||
parser.add_argument('--api_loc', default='../datasets/NAS-Bench-201-v1_1-096897.pth',
|
||||
type=str, help='path to API')
|
||||
parser.add_argument('--save_loc', default='results', type=str, help='folder to save results')
|
||||
parser.add_argument('--batch_size', default=256, type=int)
|
||||
@@ -116,7 +116,6 @@ for N in runs:
|
||||
|
||||
network = get_cell_based_tiny_net(config) # create the network from configuration
|
||||
network = network.to(device)
|
||||
network.eval()
|
||||
|
||||
jacobs, labels= get_batch_jacobian(network, x, target, 1, device, args)
|
||||
jacobs = jacobs.reshape(jacobs.size(0), -1).cpu().numpy()
|
||||
|
Reference in New Issue
Block a user