You can use the pretrain model for inference directly.
Setting parameters in infer.py
infer.py
Then you can run the pipeline to infer with:python python infer.py
python python infer.py