Git Product home page Git Product logo

family-scripts's People

Contributors

einervonvielen avatar ojrandom1 avatar

Watchers

 avatar

family-scripts's Issues

DecompressionBombWarning

python3 collect.py -v -r -i ../Schritt_2_in_Entwicklung_bei_Darktable/pano_temp/
Directory for faces not given as param. Take default dir = faces
Read '0' image(s) from DB in directory ../Schritt_2_in_Entwicklung_bei_Darktable/pano_temp/
Skipping file because it is no image ../Schritt_2_in_Entwicklung_bei_Darktable/pano_temp/.faces_of_dir.db
Read '1' image(s) from files in directory ../Schritt_2_in_Entwicklung_bei_Darktable/pano_temp/
Use all CPUs for dir ../Schritt_2_in_Entwicklung_bei_Darktable/pano_temp/
Load face encodings from IMAGE... ../Schritt_2_in_Entwicklung_bei_Darktable/pano_temp/20080817-Pano_Goor-Vilm_54464Pixel.jpg
/usr/lib/python3/dist-packages/PIL/Image.py:2274: DecompressionBombWarning: Image size (260316216 pixels) exceeds limit of 89478485 pixels, could be decompression bomb DOS attack.
  DecompressionBombWarning)
concurrent.futures.process._RemoteTraceback: 
"""
Traceback (most recent call last):
  File "/usr/lib/python3.5/concurrent/futures/process.py", line 175, in _process_worker
    r = call_item.fn(*call_item.args, **call_item.kwargs)
  File "/usr/lib/python3.5/concurrent/futures/process.py", line 153, in _process_chunk
    return [fn(*args) for args in chunk]
  File "/usr/lib/python3.5/concurrent/futures/process.py", line 153, in <listcomp>
    return [fn(*args) for args in chunk]
  File "/media/nuci/intenso/familie/Bilder/faces/face_util.py", line 121, in collect_faces_image
    face_encodings = face_recognition.face_encodings(image)
  File "/usr/local/lib/python3.5/dist-packages/face_recognition/api.py", line 209, in face_encodings
    raw_landmarks = _raw_face_landmarks(face_image, known_face_locations, model="small")
  File "/usr/local/lib/python3.5/dist-packages/face_recognition/api.py", line 153, in _raw_face_landmarks
    face_locations = _raw_face_locations(face_image)
  File "/usr/local/lib/python3.5/dist-packages/face_recognition/api.py", line 102, in _raw_face_locations
    return face_detector(img, number_of_times_to_upsample)
MemoryError: std::bad_alloc
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "collect.py", line 114, in <module>
    face_util.collect_faces_of_dir(dir, is_verbose, True, dir_faces_unknown)
  File "/media/nuci/intenso/familie/Bilder/faces/face_util.py", line 73, in collect_faces_of_dir
    for details, result in zip(images_to_read, executor.map(collect_faces_image, images_to_read)):
  File "/usr/lib/python3.5/concurrent/futures/_base.py", line 556, in result_iterator
    yield future.result()
  File "/usr/lib/python3.5/concurrent/futures/_base.py", line 405, in result
    return self.__get_result()
  File "/usr/lib/python3.5/concurrent/futures/_base.py", line 357, in __get_result
    raise self._exception
MemoryError: std::bad_alloc

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.