Created
November 25, 2022 16:29
-
-
Save lazyoracle/08b8c1c7d8430b00cf109ece33adfa0c to your computer and use it in GitHub Desktop.
Show options for pycma is a legible way
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/CMA-ES/pycma/tree/master | |
import cma | |
from pprint import pprint | |
import argparse | |
parser = argparse.ArgumentParser(description='search term for pycma options') | |
parser.add_argument('-s', '--search', type=str, help='search for options containing this term') | |
args = parser.parse_args() | |
pprint(cma.CMAOptions(args.search)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment