Closed netrunner-exe closed 2 years ago
ModuleNotFoundError: No module named 'dominate'
- this problem is being solved by installing pip install dominate
.
File "/usr/local/lib/python3.7/dist-packages/insightface/utils/face_align.py", line 29, in <module>
src_map = {112: src, 224: src * 2}
NameError: name 'src' is not defined
Anyone please help about it
src_all = np.array([src1, src2, src3, src4, src5]) src_map = {112: src_all, 224: src_all * 2}
Thank you, it works!
Trying to train in Google Collab
If i change face_align.py, from readme, it show:
If i dont change face_align.py, it just show:
and not make dataset, just make empty folders - imgs and latents.
Images from CelebA dataset are in the root of the folderSimSwap-train/dataset/CelebA
If i run
CUDA_VISIBLE_DEVICES=0 python train.py --name CelebA_512_finetune --dataroot /content/SimSwap-train/dataset/CelebA --image_size 512 --display_winsize 512 --continue_train
it showI would be glad for any help or if someone shared his pretrained model.