fix lm_inference_launch.py

This commit is contained in:
wucong.lyb 2023-05-22 19:09:30 +08:00
parent 28af87f59d
commit 42e1259075

View File

@ -401,7 +401,8 @@ def main(cmd=None):
kwargs.pop("gpuid_list", None)
kwargs.pop("njob", None)
results = inference_launch(**kwargs)
inference_pipeline = inference_launch(**kwargs)
return inference_pipeline(kwargs["data_path_and_name_and_type"])
if __name__ == "__main__":