Код: Выделить всё
python -u mseg_semantic/tool/universal_demo.py --config=${config} model_name ${model_name} model_path ${model_path} input_fule ${input_file}
Namespace(config='', file_save='default', opts=['model_name', 'model_path', 'input_fule'])
Traceback (most recent call last):
File "mseg_semantic/tool/universal_demo.py", line 100, in
args = get_parser()
File "mseg_semantic/tool/universal_demo.py", line 90, in get_parser
cfg = config.load_cfg_from_cfg_file(args.config)
File "/mnt/c/users/johns/downloads/dx/2077/photorealism/code/mseg_semantic/utils/config.py", line 62, in load_cfg_from_cfg_file
assert os.path.isfile(file) and file.endswith('.yaml'), \
AssertionError: is not a yaml file
Код: Выделить всё
python -u mseg_semantic/tool/universal_demo.py --config=${config} model_name ${model_name} model_path ${model_path} input_fule ${input_file}
Подробнее здесь: https://stackoverflow.com/questions/784 ... ith-mseg-s