Pretrained network G has fewer layers; The following are not initialized: ['down0', 'first_layer', 'last_layer', 'up0'] #432

Open
opened 2023-07-12 17:28:08 +02:00 by taaha · 6 comments
taaha commented 2023-07-12 17:28:08 +02:00 (Migrated from github.com)

image

getting image like above when running
!python test_one_image.py --name people --Arc_path arcface_model/arcface_checkpoint.tar --pic_a_path crop_224/6.jpg --pic_b_path crop_224/ds.jpg --output_path output/

no error but this msg
image

![image](https://github.com/neuralchen/SimSwap/assets/5251294/a8ff7009-e210-4a63-8199-22d62dbf2f09) getting image like above when running !python test_one_image.py --name people --Arc_path arcface_model/arcface_checkpoint.tar --pic_a_path crop_224/6.jpg --pic_b_path crop_224/ds.jpg --output_path output/ no error but this msg ![image](https://github.com/neuralchen/SimSwap/assets/5251294/8504f0c9-ac4b-4ef5-9edc-488a5f3a3a57)
GoodFanxinran commented 2023-07-24 11:10:55 +02:00 (Migrated from github.com)

the same, do you solve it?

the same, do you solve it?
KleinXin commented 2023-07-24 15:03:18 +02:00 (Migrated from github.com)

me too

me too
ShawnLeung-SII commented 2023-08-06 11:48:53 +02:00 (Migrated from github.com)

+1

+1
ShawnLeung-SII commented 2023-08-06 15:11:43 +02:00 (Migrated from github.com)

I solved that. The first test file lack a hyperparameters. Just add the --crop_size 224/512 after py command. Such as
python test_one_image.py --crop_size 224 --name people --Arc_path arcface_model/arcface_checkpoint.tar --pic_a_path crop_224/6.jpg --pic_b_path crop_224/ds.jpg --output_path output/
@KleinXin @taaha

I solved that. The first test file lack a hyperparameters. Just add the --crop_size 224/512 after py command. Such as python test_one_image.py --crop_size 224 --name people --Arc_path arcface_model/arcface_checkpoint.tar --pic_a_path crop_224/6.jpg --pic_b_path crop_224/ds.jpg --output_path output/ @KleinXin @taaha
shidalao commented 2023-08-08 11:01:25 +02:00 (Migrated from github.com)

I solved that. The first test file lack a hyperparameters. Just add the --crop_size 224/512 after py command. Such as python test_one_image.py --crop_size 224 --name people --Arc_path arcface_model/arcface_checkpoint.tar --pic_a_path crop_224/6.jpg --pic_b_path crop_224/ds.jpg --output_path output/ @KleinXin @taaha

it works, thanks

> I solved that. The first test file lack a hyperparameters. Just add the --crop_size 224/512 after py command. Such as python test_one_image.py --crop_size 224 --name people --Arc_path arcface_model/arcface_checkpoint.tar --pic_a_path crop_224/6.jpg --pic_b_path crop_224/ds.jpg --output_path output/ @KleinXin @taaha it works, thanks
nghiap commented 2023-08-11 06:04:19 +02:00 (Migrated from github.com)

Has anyone done a training set for Asian faces? if so may I please have a copy? My laptop is too old to do any training :(
Please share, I am not doing any thing commercial... only mucking around with some photos for fun.

Has anyone done a training set for Asian faces? if so may I please have a copy? My laptop is too old to do any training :( Please share, I am not doing any thing commercial... only mucking around with some photos for fun.
Sign in to join this conversation.