# META LEARNING | # META LEARNING | ||||
print("META LEARNING PHASE") | print("META LEARNING PHASE") | ||||
head = l2l.algorithms.MetaSGD(head, lr=config['local_lr']) | |||||
head = l2l.algorithms.MetaSGD(head, lr=config['local_lr'],first_order=True) | |||||
head.cuda() | head.cuda() | ||||
# Setup optimization | # Setup optimization |