import subprocess import os subprocess.run(["git", "clone", "https://github.com/fat-ai/MuseV.git"]) os.chdir("./MuseV") subprocess.run(["pip", "install", "-r", "requirements.txt"]) subprocess.run(["pip", "install", "--no-cache-dir", "-U", "openmim"]) subprocess.run(["mim", "install", "mmengine"]) subprocess.run(["mim", "install", "mmcv>=2.0.1"]) subprocess.run(["mim", "install", "mmdet>=3.1.0"]) subprocess.run(["mim", "install", "mmpose>=1.1.0"]) os.chdir("..")