Barbershop
Barbershop copied to clipboard
pip install version problem with package clip
Hello, first and foremost thank you very much for sharing the code, the work is incredibile and we are extremely lucky to be able to freely use and try it.
I've succesfully ran the code on a VM on google colab (linux) by creating a conda env from the provided yaml file however it looks like that the version of package clip==1.0 might be wrong as it can't pip install it.
I've simply removed the version and everything works perfectly. Just wanted to let you guys now!
Have a good day
Thank you for your help.
Hello ! Could you quickly explain how to set up the environment on google colab please ? I can't find any working snippet to actually activate the environment on colab.
EDIT : I was able to set it up on colab but it takes quite a while to set the environment and you have to go over whenever you close the session. I followed these steps :
Installing conda
!wget -c https://repo.continuum.io/archive/Anaconda3-5.1.0-Linux-x86_64.sh
!chmod +x Anaconda3-5.1.0-Linux-x86_64.sh
!bash ./Anaconda3-5.1.0-Linux-x86_64.sh -b -f -p /usr/local
Create the conda environment
Note : you have to previously modify the environment.yml to remove the clip version as specified in the intial issue
!conda env create -f Barbershop/environment/environment.yml
Execute some commands
Note : source activate Barbershop
is the step to activate the environment, so that the following commands are using it. If we split it in different cell, it resets the environment.
%%bash
cd /content/Barbershop
source activate Barbershop
python align_face.py