Solved by albanD in post #2 
              
              
                Your error is because you import: from optimizer import Lookahead but optimizer is not an actual package I think. You need to get the file from the repo that you linked.