Skip to content

Commit

Permalink
[Fix] Fix Requirements (#1899)
Browse files Browse the repository at this point in the history
* Fix requirements

* Polish

* Update MMCV version

* Change MMCV version
  • Loading branch information
ryanxingql authored Jun 12, 2023
1 parent ac6cb54 commit 582c1a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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

0 comments on commit 582c1a6

Please sign in to comment.