Skip to content

Commit 3fccf65

Browse files
author
nessessence
committed
colab requirements
1 parent 119ac4b commit 3fccf65

File tree

3 files changed

+13
-15
lines changed

3 files changed

+13
-15
lines changed

align.py

+1
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ def get_file(src, tgt):
199199
if not osp.exists(ALIGNED_IMAGES_DIR): os.makedirs(ALIGNED_IMAGES_DIR)
200200

201201
files = os.listdir(RAW_IMAGES_DIR)
202+
print(f'total img files {len(files)}')
202203
with tqdm(total=len(files)) as progress:
203204

204205
def cb(*args):

manipulate_note.ipynb

+1-15
Original file line numberDiff line numberDiff line change
@@ -4801,21 +4801,7 @@
48014801
"execution_count": null,
48024802
"metadata": {},
48034803
"outputs": [],
4804-
"source": [
4805-
"To do:\n",
4806-
"- colab (optional)\n",
4807-
" - check if the model can run on a free gpu\n",
4808-
" (if the colab works)\n",
4809-
" - upload weight to gdrive\n",
4810-
" - ddpm\n",
4811-
" - classifier\n",
4812-
" - ddpm-latent (for unconditional sample)\n",
4813-
" - upload image button\n",
4814-
" - a scroll for manipuation amplitude\n",
4815-
"- friendly explaination \n",
4816-
"\n",
4817-
"nex"
4818-
]
4804+
"source": []
48194805
},
48204806
{
48214807
"cell_type": "code",

requirement_for_colab.txt

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
torch==1.7.1+cu110 torchvision==0.8.2+cu110 torchaudio==0.7.2 pytorch-lightning==1.2.2 torchtext==0.8.0 -f https://download.pytorch.org/whl/torch_stable.html
2+
scipy==1.5.4
3+
numpy==1.19.5
4+
tqdm
5+
pytorch-fid==0.2.0
6+
pandas==1.1.5
7+
lpips==0.1.4
8+
lmdb==1.2.1
9+
ftfy
10+
regex
11+
dlib requests

0 commit comments

Comments
 (0)