RoyalEagle commited on
Commit
9f8a76f
1 Parent(s): 6ca1516

Create new file

Browse files
Files changed (1) hide show
  1. get_dependencies.ipynb +23 -0
get_dependencies.ipynb ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %%capture
2
+ !pip install torch==1.9.0+cu111 torchtext==0.10.0 torchvision==0.10.0+cu111 -f https://download.pytorch.org/whl/torch/ -f https://download.pytorch.org/whl/torchvision/
3
+
4
+ !git clone https://github.com/openai/CLIP
5
+ # !pip install taming-transformers
6
+ !git clone https://github.com/CompVis/taming-transformers.git
7
+ !rm -Rf pixray
8
+ !git clone https://github.com/dribnet/pixray
9
+ !pip install ftfy regex tqdm omegaconf pytorch-lightning
10
+ !pip install kornia==0.6.1
11
+ !pip install imageio-ffmpeg
12
+ !pip install einops
13
+ !pip install torch-optimizer
14
+ !pip install easydict
15
+ !pip install braceexpand
16
+ !pip install git+https://github.com/pvigier/perlin-numpy
17
+ !mkdir steps
18
+ !mkdir models
19
+ !wget https://user-images.githubusercontent.com/945979/126260797-adc60317-9518-40de-8700-b1f93e81e0ec.png -O this_is_fine.png
20
+ !wget https://user-images.githubusercontent.com/945979/126415385-d70ff2b0-f021-4238-9621-6180d33b242c.jpg -O perfume.jpg
21
+ !pip install gradio==2.5.1
22
+ import sys
23
+ sys.path.append("pixray")