Comments (7)
Please try the following command:
# From FSGAN's root directory
python fsgan/inference/swap.py docs/examples/shinzo_abe.mp4 -t docs/examples/conan_obrien.mp4 -o . --finetune --finetune_save --seg_remove_mouth
from fsgan.
from fsgan.
Please write the full error.
from fsgan.
from fsgan.
sorry,I went to class before, useing mobile phone qq mailbox reply to the message.The image may be not loaded by qq emil The fully error as follow:
- l back FSGAN's root directory and run you command:
''python fsgan/inference/swap.py docs/examples/shinzo_abe.mp4 -t docs/examples/conan_obrien.mp4 -o . --finetune --finetune_save --seg_remove_mouth'' - pycharm throw the error :'' _pickle.UnpicklingError: invalid load key, '<'. ''
- The whole image as follow:
from fsgan.
Seems like the models were not downloaded correctly.
The files should be 100MB+.
Try to download them again. If the script is not working, use the links directly.
from fsgan.
I sincerely appreciate your guidance, I have solved this issue. Here is my solving process,, in the hope that it will help others who are just as confused as I am,
- If there is a error ,'' _pickle.UnpicklingError: invalid load key, '<'. '' or '''weights/WIDERFace_DSFD_RES152.pth''', after reload the model.
- check your 'wight ' file,. If it just 3kb , open the file ''download_fsgan_models.py''. load the fils by corresponding urls.
from fsgan.
Related Issues (20)
- Can the training results from v2 be available in version1 image reenacted? HOT 1
- Gr = obj_factory(checkpoint['arch']).to(device) KeyError: 'arch' HOT 6
- How to get training script that ImageReenacted of v1 ?
- swap.py maybe unsupport torch-1.11.0 HOT 1
- RuntimeError: Expected 2D (unbatched) or 3D (batched) input to conv1d, but got input of size: [1, 1024, 32, 32] HOT 10
- requests.exceptions.ConnectionError: HTTPSConnectionPool(host='drive.google.com', port=443): Max retries exceeded with url: /uc?export=download&id=1uyEETpnuvfwZeQLvlP8SzahrMBwst9Be (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f9481ba6550>: Failed to establish a new connection: [Errno 110] Connection timed out')) HOT 3
- ffmpeg._run.Error: ffprobe error (see stderr output for detail) HOT 5
- No module named 'face_alignment' in V1 HOT 3
- RuntimeError: No faces were detected in the source image directory: docs/Iron_man.jpg
- Does anyone know how to do face reenactment with fsgan v2
- ModuleNotFoundError: No module named 'fsgan.preprocess' HOT 1
- Got error message in swap.py HOT 1
- Error on Colab HOT 2
- raise Error('ffprobe', out, err) ffmpeg._run.Error: ffprobe error (see stderr output for detail) HOT 1
- Swap picture to picture
- ffprobe Error HOT 2
- runtime error: Cache file does not exist HOT 1
- The performance decreases as the length of video increases
- Module error ffmpeg Colab HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fsgan.