|
|
před 4 roky | |
|---|---|---|
| data | před 4 roky | |
| doc | před 4 roky | |
| models | před 4 roky | |
| options | před 4 roky | |
| util | před 4 roky | |
| .gitattributes | před 4 roky | |
| .gitignore | před 4 roky | |
| LICENSE | před 4 roky | |
| README.md | před 4 roky | |
| test_one_image.py | před 4 roky | |
| train.py | před 4 roky |
Use python3.5, pytorch1.3.0
Use this command to test the face swapping between two images:
python test_one_image.py --isTrain false --name people --Arc_path models/BEST_checkpoint.tar --pic_a_path crop_224/mars.jpg --pic_b_path crop_224/ds.jpg --output_path output/
--name refers to the checkpoint name.