Code Monkey home page Code Monkey logo

wider-face-pascal-voc-annotations's Issues

Code fails when there are no faces in the image

0_Parade_Parade_0_452.jpg => ./WIDER_train_annotations/0_Parade_Parade_0_452.xml
Traceback (most recent call last):
File "convert.py", line 86, in
convertWFAnnotations(ARGS['annotations_path'], ARGS['target_path'], ARGS['images_path'])
File "convert.py", line 55, in convertWFAnnotations
folder, basename, path, width, height = parseImFilename(imFilename, imPath)
File "convert.py", line 41, in parseImFilename
im = Image.open(os.path.join(imPath, imFilename))
File "/home/cp2016/cp201613/epp/venv/lib/python3.8/site-packages/PIL/Image.py", line 2843, in open
fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: './WIDER_train/images/0 0 0 0 0 0 0 0 0 0'

I want to use my face detection data set for face model training. My standard face tool is labelme, which is in json format. I saw that many face detection algorithms are based on widerface for training, so I want to know How do I convert my face frame data into widerface format? Thank you

I want to use my face detection data set for face model training. My standard face tool is labelme, which is in json format. I saw that many face detection algorithms are based on widerface for training, so I want to know How do I convert my face frame data into widerface format? Thank you

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.