使用 SimSwap colab 遇到問題 #116
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
不清楚如何解決這問題
!python test_one_image.py --isTrain false --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/
/usr/local/lib/python3.7/dist-packages/torch/serialization.py:671: SourceChangeWarning: source code of class 'torch.nn.parallel.data_parallel.DataParallel' has changed. Saved a reverse patch to DataParallel.patch. Run
patch -p0 < DataParallel.patchto revert your changes.warnings.warn(msg, SourceChangeWarning)
Try use test_wholeimage_swapsingle.py instead of test_one_image.py
It worked for me.
Need to worry about warning messages ,as long as it can run