Giter VIP home page Giter VIP logo

Comments (5)

lukaville avatar lukaville commented on April 27, 2024

Also, it will be nice to print an error if we can't write to the directory. Currently, the script fails without error description and for some reason prints help information if models directory is read-only. This is very confusing and took me some time to figure out where is the problem :)

from faceswap.

Clorr avatar Clorr commented on April 27, 2024

Just thinking here. Can we also check for installed dependencies ?

(Note: I did not look at the latest commits so maybe it's on its way...)

from faceswap.

Ganonmaster avatar Ganonmaster commented on April 27, 2024

Checking on dependencies would be neat, but if we intend to distribute this tool as a self contained executable, it's not necessary. Other than that, catching some obvious ImportErrors for the main libs (keras, tensorflow, dlib, face_recognition) here and there might be sufficient.

from faceswap.

Clorr avatar Clorr commented on April 27, 2024

Ok, fine for me 😉

from faceswap.

Clorr avatar Clorr commented on April 27, 2024

lib/utils.py has now the mkdir activated, so it won't fail anymore if the directory does not exist. If we have to add a prompt, the issue can be reopened.

from faceswap.

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.