Google Colab
Raphi-off opened this issue · 1 comments
Raphi-off commented
Has anyone managed to get this project running on colab ?
Here is my code for now:
!git clone https://github.com/ali-vilab/AnyDoor.git
%cd AnyDoor/
!pip install -r requirements.txt
I changed the opencv-contrib-python version to 4.6.0.66 as suggested here #31
But still have errors during installation.
Click to expand error log
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed.
This behaviour is the source of the following dependency conflicts.
ipython 7.34.0 requires jedi>=0.16, which is not installed.
lida 0.0.10 requires kaleido, which is not installed.
tensorflow 2.15.0 requires numpy<2.0.0,>=1.23.5, but you have numpy 1.23.1 which is incompatible.
tensorflow-probability 0.22.0 requires typing-extensions<4.6.0, but you have typing-extensions 4.9.0
which is incompatible.
torchaudio 2.1.0+cu121 requires torch==2.1.0, but you have torch 2.0.0 which is incompatible.
torchdata 0.7.0 requires torch==2.1.0, but you have torch 2.0.0 which is incompatible.
torchtext 0.16.0 requires torch==2.1.0, but you have torch 2.0.0 which is incompatible.
XavierCHEN34 commented
For an inference-only Colab, you might refer to my huggingface version at https://huggingface.co/spaces/xichenhku/AnyDoor-online/tree/main