Code Monkey home page Code Monkey logo

Comments (4)

mike9251 avatar mike9251 commented on June 8, 2024 1

fixed

from simswap-inference-pytorch.

mike9251 avatar mike9251 commented on June 8, 2024

@Eddgeric hi, I need the input data you are using to reproduce the issue.
could you please upload the video on which you see this error?

from simswap-inference-pytorch.

michidaeron avatar michidaeron commented on June 8, 2024

@Eddgeric hi, I need the input data you are using to reproduce the issue. could you please upload the video on which you see this error?

Getting the same error specified above without any difference.
Using this video: https://bayfiles.com/7b0a9aUcyb/xobi_mp4
using any image when running the command python app.py --config-name=run_video.yaml with the following config file parameters:

data:
  id_image: "${hydra:runtime.cwd}/demo_file/specific1.png"
  att_image: "none"
  specific_id_image: "none"
  att_video: "${hydra:runtime.cwd}/demo_file/xobi.mp4"
  output_dir: ${hydra:runtime.cwd}/output
  clean_work_dir: True

pipeline:
  face_detector_weights: "${hydra:runtime.cwd}/weights/face_detector_scrfd_10g_bnkps.onnx"
  face_id_weights: "${hydra:runtime.cwd}/weights/arcface_net.jit"
  parsing_model_weights: "${hydra:runtime.cwd}/weights/79999_iter.pth"
  simswap_weights: "${hydra:runtime.cwd}/weights/simswap_224_latest_net_G"
  gfpgan_weights: "${hydra:runtime.cwd}/weights/GFPGANv1.4_ema.pth"
  device: "cuda" #"cuda"
  crop_size: 224
  # it seems that the official 224 checkpoint works better with 'none' face alignment type
  checkpoint_type: "official_224" #"none"
  face_alignment_type: "none" #"ffhq"
  erode_mask_value: 40
  smooth_mask_value: 41
  sigma_scale_value: 1.0
  face_detector_threshold: 0.6
  specific_latent_match_threshold: 0.05
  enhance_output: True

defaults:
  - _self_
  - override hydra/hydra_logging: disabled
  - override hydra/job_logging: disabled

hydra:
  output_subdir: null
  run:
    dir: .

from simswap-inference-pytorch.

michidaeron avatar michidaeron commented on June 8, 2024

thanks now it works.

from simswap-inference-pytorch.

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.