NVlabs / few-shot-vid2vid

Pytorch implementation for few-shot photorealistic video-to-video translation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[colab]datasets/face/train_keypoints is not a valid director

iwellkim opened this issue · comments

I use Google Colab.

When I tried to run this command,
!python /content/few-shot-vid2vid/train.py --name face --dataset_mode fewshot_face --adaptive_spade --warp_ref --spade_combine --batchSize 8

This error message popped up.

File "/content/few-shot-vid2vid/data/image_folder.py", line 65, in make_grouped_dataset
assert os.path.isdir(dir), '%s is not a valid directory' % dir
AssertionError: datasets/face/train_keypoints is not a valid director.

I guess it is related directory since I use colab so it has different directory tree.

Can any one got an idea to fix this?

Thank you.

Try
!cd few-shot-vid2vid && python train.py --name face --dataset_mode fewshot_face --adaptive_spade --warp_ref --spade_combine --batchSize 8