Update NATS-Bench API to v1.1
This commit is contained in:
@@ -222,7 +222,10 @@ class NATStopology(NASBenchMetaAPI):
|
||||
except Exception as unused_e: # pylint: disable=broad-except
|
||||
test_info = None
|
||||
valtest_info = None
|
||||
xinfo['comment'] = 'In this dict, train-loss/accuracy/time is the metric on the train set of CIFAR-10. The test-loss/accuracy/time is the performance of the CIFAR-10 test set after training on the train set by {:} epochs. The per-time and total-time indicate the per epoch and total time costs, respectively.'.format(hp)
|
||||
else:
|
||||
if dataset == 'cifar10':
|
||||
xinfo['comment'] = 'In this dict, train-loss/accuracy/time is the metric on the train+valid sets of CIFAR-10. The test-loss/accuracy/time is the performance of the CIFAR-10 test set after training on the train+valid sets by {:} epochs. The per-time and total-time indicate the per epoch and total time costs, respectively.'.format(hp)
|
||||
try: # collect results on the proposed test set
|
||||
if dataset == 'cifar10':
|
||||
test_info = archresult.get_metrics(dataset, 'ori-test', iepoch=iepoch, is_random=is_random)
|
||||
|
Reference in New Issue
Block a user