Giter VIP home page Giter VIP logo

Comments (7)

YuvalNirkin avatar YuvalNirkin commented on September 23, 2024

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.

BCL123456-BAL avatar BCL123456-BAL commented on September 23, 2024

from fsgan.

YuvalNirkin avatar YuvalNirkin commented on September 23, 2024

Please write the full error.

from fsgan.

BCL123456-BAL avatar BCL123456-BAL commented on September 23, 2024

from fsgan.

BCL123456-BAL avatar BCL123456-BAL commented on September 23, 2024

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:

  1. 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''
  2. pycharm throw the error :'' _pickle.UnpicklingError: invalid load key, '<'. ''
  3. The whole image as follow:
    image

from fsgan.

YuvalNirkin avatar YuvalNirkin commented on September 23, 2024

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.

BCL123456-BAL avatar BCL123456-BAL commented on September 23, 2024

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,

  1. If there is a error ,'' _pickle.UnpicklingError: invalid load key, '<'. '' or '''weights/WIDERFace_DSFD_RES152.pth''', after reload the model.
  2. 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.