Giter VIP home page Giter VIP logo

Comments (5)

Kirin-kun avatar Kirin-kun commented on September 28, 2024

LOL.

Just after posting this, I had a sudden inspiration, and changed the extension in both json and the file name from JPG to jpg:

09 INFO     Loading file list from C:\Fakes\test

05/31/2019 13:21:09 VERBOSE  1 items loaded

05/31/2019 13:21:09 INFO     [DRAW LANDMARKS]

05/31/2019 13:21:09 INFO     1 Frame(s) output
Process exited.

Soooo... it's still a bug, but I know the reason now: the alignment tool doesn't handle uppercase extensions on Windows.

from faceswap-playground.

Kirin-kun avatar Kirin-kun commented on September 28, 2024

New bug:

The manual alignments mode doesn't handle spaces or parenthesis?

The pic appears, but the box on top is black and when trying to modify:

Traceback (most recent call last):
File "C:\Users\Kirin\faceswap\tools\lib_alignments\jobs_manual.py", line 842, in on_event
self.set_bounding_box(x, y)
File "C:\Users\Kirin\faceswap\tools\lib_alignments\jobs_manual.py", line 877, in set_bounding_box
self.move_bounding_box(pt_x, pt_y)
File "C:\Users\Kirin\faceswap\tools\lib_alignments\jobs_manual.py", line 926, in move_bounding_box
self.update_landmarks()
File "C:\Users\Kirin\faceswap\tools\lib_alignments\jobs_manual.py", line 972, in update_landmarks
idx = self.alignments.add_face(frame, alignment)
File "C:\Users\Kirin\faceswap\lib\alignments.py", line 224, in add_face
self.data[frame].append(alignment)
KeyError: '00144 - Copie (2)_0.png'

KeyError suggests it doesn't like the filename.

from faceswap-playground.

torzdf avatar torzdf commented on September 28, 2024

I'm doing a round of bugfixing now, so will take a look.

from faceswap-playground.

torzdf avatar torzdf commented on September 28, 2024

The filename extension issue is fixed in latest commit. I'll look at Manual over the weekend.

from faceswap-playground.

torzdf avatar torzdf commented on September 28, 2024

The manual alignments mode doesn't handle spaces or parenthesis?

I can't recreate this at all. I changed my filenames to have spaces, dashes and parenthesis but it still works for me

sample filenames:
image

from faceswap-playground.

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.