From fb2a1e3283bfe03709ad2d4ae77630fc4f6ee230 Mon Sep 17 00:00:00 2001 From: toto Date: Sun, 17 Dec 2023 07:08:29 +0800 Subject: [PATCH] update --- portrait/install.py | 3 ++- requirements.txt | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/portrait/install.py b/portrait/install.py index cc6d90e..059c705 100644 --- a/portrait/install.py +++ b/portrait/install.py @@ -97,7 +97,8 @@ try: subpack_req = os.path.join(root_path, "requirements.txt") check_and_install_requirements(subpack_req) - + if platform.system() != "Windows" : + process_wrap(pip_install + ['mmcv_full'], cwd=root_path) if sys.argv[0] == 'install.py': sys.path.append('.') # for portable version diff --git a/requirements.txt b/requirements.txt index 6eb9b26..b4f7bee 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,5 +9,4 @@ scikit-image matplotlib insightface diffusers==0.18.2 -sentencepiece -mmcv_full +sentencepiece \ No newline at end of file