Giter VIP home page Giter VIP logo

Comments (4)

neon-ninja avatar neon-ninja commented on May 25, 2024

Issue appears to be caused by data.json not being present - but as I said in the readme data.json should be optional. ae36ca3 should fix this issue, docker build here: https://hub.docker.com/r/uoacer/openface-mass-compare/builds/bcfrarsmyhufkxus63xmi9t/

Give that a try and see if that fixes your issue
Thanks for bug testing! 🐛

from openface_mass_compare.

geziefer avatar geziefer commented on May 25, 2024

Ok, that fix made it continue, allthough giving me a
('Unable to load data.json: ', IOError(2, 'No such file or directory'))
for each worker.
And the created pickle file is only 6 byte long.
I assume, that on Windows my directory, where the data of the images is in, does not get correctly mounted and thus, it cannot read the data.json, no matter if it's there or not and also no images.

I guess, you haven't tried it on Windows?

from openface_mass_compare.

neon-ninja avatar neon-ninja commented on May 25, 2024

Try remove the pickle file, and then restart the docker container. It should try regenerate it. Ensure you're mounting as per docker run --name=omc --restart=always --detach=true --volume="`pwd`:/root/data" --publish="8000:8000" --net=host uoacer/openface-mass-compare where `pwd` is the directory you have your images in - you may need to replace this if you're not running this via bash (via, cygwin, git bash, or ubuntu on windows) / if you don't have a pwd binary in your PATH

Nope, I've only tested this on Ubuntu

from openface_mass_compare.

geziefer avatar geziefer commented on May 25, 2024

It works when I execute it directly from docker-machine, so it really seems to be a Problem with Windows mounting the directory. Thanks!

from openface_mass_compare.

Related Issues (7)

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.