使用 SimSwap colab 遇到問題 #116

Open
opened 2021-09-13 07:49:01 +02:00 by BertWang · 2 comments
BertWang commented 2021-09-13 07:49:01 +02:00 (Migrated from github.com)

不清楚如何解決這問題

!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.patch to revert your changes.
warnings.warn(msg, SourceChangeWarning)

不清楚如何解決這問題 !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.patch` to revert your changes. warnings.warn(msg, SourceChangeWarning)
I3uzz commented 2021-11-08 23:45:43 +01:00 (Migrated from github.com)

Try use test_wholeimage_swapsingle.py instead of test_one_image.py
It worked for me.

Try use test_wholeimage_swapsingle.py instead of test_one_image.py It worked for me.
SunixLiu commented 2022-03-21 05:02:13 +01:00 (Migrated from github.com)

Need to worry about warning messages ,as long as it can run

Need to worry about warning messages ,as long as it can run
Sign in to join this conversation.