ab07c436cf730fb41d75cf6eee250d977379f2a0,catalyst/dl/__main__.py,,,#,9
Before Change
logger = logging.getLogger(__name__)
COMMANDS = OrderedDict(
[("quantize", quantize), ("run", run), ("swa", swa), ("trace", trace)]
)
if SETTINGS.IS_OPTUNA_AVAILABLE:
After Change
COMMANDS["init"] = init
except ImportError as ex:
if SETTINGS.ml_required:
logger.warning(
"catalyst[ml] requirements are not available, to install them,"
" run `pip install catalyst[ml]`."
)
raise ex
COMMANDS = OrderedDict(sorted(COMMANDS.items()))
def build_parser() -> ArgumentParser:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: catalyst-team/catalyst
Commit Name: ab07c436cf730fb41d75cf6eee250d977379f2a0
Time: 2020-12-01
Author: scitator@gmail.com
File Name: catalyst/dl/__main__.py
Class Name:
Method Name:
Project Name: tryolabs/luminoth
Commit Name: f722d6fb87e33f4cac6a853fd448b0ccbfc2090b
Time: 2017-07-17
Author: javirey@gmail.com
File Name: frcnn/rpn_anchor_target.py
Class Name: RPNAnchorTarget
Method Name: __init__
Project Name: NifTK/NiftyNet
Commit Name: 9db50ab9ed6bf6b4e462c84e2c38fedd36e7467a
Time: 2017-11-08
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/io/image_sets_partitioner.py
Class Name: ImageSetsPartitioner
Method Name: randomly_split_dataset