Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] Requirements #1899

Merged
merged 4 commits into from
Jun 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mmagic/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def digit_version(version_str):
return digit_ver


MMCV_MIN = '2.0.0rc1'
MMCV_MIN = '2.0.0'
MMCV_MAX = '2.1.0'
mmcv_min_version = digit_version(MMCV_MIN)
mmcv_max_version = digit_version(MMCV_MAX)
Expand Down
6 changes: 3 additions & 3 deletions requirements/runtime.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
av
av==8.0.3; python_version < '3.7'
click # required by mmagic/utils/io_utils.py
controlnet_aux
diffusers>=0.12.0
einops
Expand All @@ -8,15 +9,14 @@ facexlib
lmdb
lpips
mediapipe
mmcv>=2.0.0rc1
mmengine
numpy
opencv-python!=4.5.5.62,!=4.5.5.64
# MMCV depends opencv-python instead of headless, thus we install opencv-python
# Due to a bug from upstream, we skip this two version
# https://github.com/opencv/opencv-python/issues/602
# https://github.com/opencv/opencv/issues/21366
# It seems to be fixed in https://github.com/opencv/opencv/pull/21382
opencv-python!=4.5.5.62,!=4.5.5.64
pandas # required by mmagic/models/editors/disco_diffusion/guider.py
Pillow
resize_right
tensorboard
Expand Down