Closed sbracaloni closed 6 years ago
3 logs level:
Default example: ` gen_dvc -i ./script_py.py -o ./cmd_dvc -f
MLV-tools:root:DVC bash command successfully generated in ./cmd_dvc `
Verbose example: ` gen_dvc -i ./script_py.py -o ./cmd_dvc -f -v
INFO:No configuration found. Use default. INFO:Generate DVC command "./cmd_dvc" from "./script_py.py" INFO:Extract docstring from "./script_py.py". INFO:Build data for DVC command generation using template INFO:DVC mode: whole command provided INFO:Write command ./cmd_dvc using template dvc-cmd.tpl MLV-tool:DVC bash command successfully generated in ./cmd_dvc `
Debug example: ` gen_dvc -i ./script_py.py -o ./cmd_dvc -f --debug
INFO:No configuration found. Use default. INFO:Generate DVC command "./cmd_dvc" from "./script_py.py" DEBUG:Global configuration MlVToolConf top_directory='/home/sbracaloni/sandbox/dev/peopledoc/ml-versioning-tools' path=None ignore_keys=['# No effect'] dvc_var_python_cmd_path='MLV_PY_CMD_PATH' dvc_var_python_cmd_name='MLV_PY_CMD_NAME' dvc_var_meta_filename='MLV_DVC_META_FILENAME' docstring_conf=None DEBUG:Docstring configuration None INFO:Extract docstring from "./script_py.py". DEBUG:Docstring extracted from method mlvtools_input: :param str subset: Subset of data to load :param str data_home: Path to parent directory to cache file :param str output_path: Path to output file :dvc-cmd: dvc run -f $MLV_DVC_META_FILENAME -o ./poc/data/data_train.csv -o ./poc/data/data_test.csv -d ./poc/data/20news-bydate_py3.pkz "$MLV_PY_CMD_PATH --subset train --data-home ./poc/data --output-path ./poc/data/data_train.csv && $MLV_PY_CMD_PATH --subset test --data-home ./poc/data --output-path ./poc/data/data_test.csv" INFO:Build data for DVC command generation using template INFO:DVC mode: whole command provided DEBUG:Custom command dvc run -f $MLV_DVC_META_FILENAME -o ./poc/data/data_train.csv -o ./poc/data/data_test.csv \ -d ./poc/data/20news-bydate_py3.pkz \ "$MLV_PY_CMD_PATH --subset train \ --data-home ./poc/data --output-path ./poc/data/data_train.csv && \ $MLV_PY_CMD_PATH --subset test \ --data-home ./poc/data --output-path ./poc/data/data_test.csv" INFO:Write command ./cmd_dvc using template dvc-cmd.tpl MLV-tool:DVC bash command successfully generated in ./cmd_dvc `
3 logs level:
Default example: ` gen_dvc -i ./script_py.py -o ./cmd_dvc -f
MLV-tools:root:DVC bash command successfully generated in ./cmd_dvc `
Verbose example: ` gen_dvc -i ./script_py.py -o ./cmd_dvc -f -v
INFO:No configuration found. Use default. INFO:Generate DVC command "./cmd_dvc" from "./script_py.py" INFO:Extract docstring from "./script_py.py". INFO:Build data for DVC command generation using template INFO:DVC mode: whole command provided INFO:Write command ./cmd_dvc using template dvc-cmd.tpl MLV-tool:DVC bash command successfully generated in ./cmd_dvc `
Debug example: ` gen_dvc -i ./script_py.py -o ./cmd_dvc -f --debug
INFO:No configuration found. Use default. INFO:Generate DVC command "./cmd_dvc" from "./script_py.py" DEBUG:Global configuration MlVToolConf top_directory='/home/sbracaloni/sandbox/dev/peopledoc/ml-versioning-tools' path=None ignore_keys=['# No effect'] dvc_var_python_cmd_path='MLV_PY_CMD_PATH' dvc_var_python_cmd_name='MLV_PY_CMD_NAME' dvc_var_meta_filename='MLV_DVC_META_FILENAME' docstring_conf=None DEBUG:Docstring configuration None INFO:Extract docstring from "./script_py.py". DEBUG:Docstring extracted from method mlvtools_input: :param str subset: Subset of data to load :param str data_home: Path to parent directory to cache file :param str output_path: Path to output file :dvc-cmd: dvc run -f $MLV_DVC_META_FILENAME -o ./poc/data/data_train.csv -o ./poc/data/data_test.csv -d ./poc/data/20news-bydate_py3.pkz "$MLV_PY_CMD_PATH --subset train --data-home ./poc/data --output-path ./poc/data/data_train.csv && $MLV_PY_CMD_PATH --subset test --data-home ./poc/data --output-path ./poc/data/data_test.csv" INFO:Build data for DVC command generation using template INFO:DVC mode: whole command provided DEBUG:Custom command dvc run -f $MLV_DVC_META_FILENAME -o ./poc/data/data_train.csv -o ./poc/data/data_test.csv \ -d ./poc/data/20news-bydate_py3.pkz \ "$MLV_PY_CMD_PATH --subset train \ --data-home ./poc/data --output-path ./poc/data/data_train.csv && \ $MLV_PY_CMD_PATH --subset test \ --data-home ./poc/data --output-path ./poc/data/data_test.csv" INFO:Write command ./cmd_dvc using template dvc-cmd.tpl MLV-tool:DVC bash command successfully generated in ./cmd_dvc `