Strange Output
superbunny38 opened this issue · comments
Hello, thank you for sharing your work :)
I was trying to inference with your model using your given images and video, and the converted video seems very strange. I followed every code in colab, but the result shows as follows:
![image](https://private-user-images.githubusercontent.com/48243487/257461309-48f9ae55-1978-46e8-ad83-e526300eb097.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM1Nzk1MzMsIm5iZiI6MTcyMzU3OTIzMywicGF0aCI6Ii80ODI0MzQ4Ny8yNTc0NjEzMDktNDhmOWFlNTUtMTk3OC00NmU4LWFkODMtZTUyNjMwMGViMDk3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODEzVDIwMDAzM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThiY2E4YWY5ZjI2ZWI4ZWU3YTQyOTgyNDAyNGRjNTcyZWNlZTY3ZTk2ZWE5YzQzZDEzNjE5MWQ0OGEzZDhkZDEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.GJUnVSL05kYOeIcRy6VaXE5uopFkLCID4cXN7YGGS0Q)
Also, I doubt if this line of warning is a clue for my problem: Pretrained network G has fewer layers; The following are not initialized: ['down0', 'first_layer', 'last_layer', 'up0']
I'll wait for your reply, thank you! :)
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/
@superbunny38
Oh! thank you so much :D