コード例 #1
0
ファイル: precomputer.py プロジェクト: whaozl/ibeis
def precfg_dbs(db_list):
    r"""
    Helper to precompute information Runs precfg on multiple databases

    Args:
        db_list (list):

    CommandLine:
        python -m ibeis.expt.precomputer --exec-precfg_dbs
        python -m ibeis.expt.precomputer --exec-precfg_dbs --dblist testdb1 PZ_MTEST
        python -m ibeis.expt.precomputer --exec-precfg_dbs --dblist testdb1 PZ_MTEST --preload -t custom
        python -m ibeis.expt.precomputer --exec-precfg_dbs --dblist=PZ_MTEST,NNP_MasterGIRM_core,PZ_Master0,NNP_Master3,GZ_ALL,PZ_FlankHack --preload --delete-nn-cache

        #python -m ibeis.expt.precomputer --exec-precfg_dbs --dblist=PZ_Master0 -t candidacy1 --preload-chip --controlled --species=primary
        python -m ibeis.expt.precomputer --exec-precfg_dbs --dblist=candidacy --preload

        python -m ibeis.expt.precomputer --exec-precfg_dbs --dblist=candidacy -t candidacy --preload-chip --species=primary --controlled
        python -m ibeis.expt.precomputer --exec-precfg_dbs --dblist=candidacy -t candidacy --preload-chip --species=primary --allgt
        python -m ibeis.expt.precomputer --exec-precfg_dbs --dblist=candidacy -t candidacy --preload-feat
        python -m ibeis.expt.precomputer --exec-precfg_dbs --dblist=candidacy -t candidacy --preload-featweight
        python -m ibeis.expt.precomputer --exec-precfg_dbs --dblist=candidacy -t candidacy --preload
        python -m ibeis.expt.precomputer --exec-precfg_dbs --dblist=candidacy --delete-nn-cache

    Example:
        >>> # DISABLE_DOCTEST
        >>> from ibeis.expt.precomputer import *  # NOQA
        >>> db_list = ut.get_argval('--dblist', type_=list, default=['testdb1'])
        >>> result = precfg_dbs(db_list)
        >>> print(result)
    """
    import ibeis.init.main_helpers
    import ibeis
    if db_list == ['candidacy']:
        from ibeis.expt import experiment_configs
        db_list = experiment_configs.get_candidacy_dbnames()  # HACK
    print('db_list = %s' % (ut.list_str(db_list),))
    test_cfg_name_list = ut.get_argval('-t', type_=list, default=[])
    for db in db_list:
        ibs = ibeis.opendb(db=db)
        ibs, qaids, daids = ibeis.init.main_helpers.testdata_expanded_aids(verbose=False, ibs=ibs)
        precfg(ibs, qaids, daids, test_cfg_name_list)
コード例 #2
0
ファイル: gen_cand_expts.py プロジェクト: Erotemic/ibeis
def get_dbnames(exclude_list=[]):
    from ibeis.expt import experiment_configs
    dbnames = experiment_configs.get_candidacy_dbnames()
    dbnames = ut.setdiff_ordered(dbnames, exclude_list)
    dbnames = ['PZ_Master1']
    return dbnames
コード例 #3
0
ファイル: gen_cand_expts.py プロジェクト: simplesoftMX/ibeis
def get_dbnames(exclude_list=[]):
    from ibeis.expt import experiment_configs
    dbnames = experiment_configs.get_candidacy_dbnames()
    dbnames = ut.setdiff_ordered(dbnames, exclude_list)
    dbnames = ['PZ_Master1']
    return dbnames