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

Google Colab #54

Open
Raphi-off opened this issue Jan 4, 2024 · 1 comment
Open

Google Colab #54

Raphi-off opened this issue Jan 4, 2024 · 1 comment

Comments

@Raphi-off
Copy link

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
Copy link
Collaborator

For an inference-only Colab, you might refer to my huggingface version at https://huggingface.co/spaces/xichenhku/AnyDoor-online/tree/main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants