Skip to content

RuntimeWarning Mean of empty slice & invalid value encountered in scalar divide #33

Description

@croghostrider

Hallo,

ich erhalte unter Windows 11 mit Python 3.12.3 folgende Fehlermeldung:

C:\Users\Admin\Pictures\Scans\test>deda_anonmask_create -r "C:\Users\Admin\Pictures\Scans\test\Scan_20250225 (3).png"
C:\Python312\Lib\site-packages\numpy\lib\_function_base_impl.py:562: RuntimeWarning: Mean of empty slice.
  avg = a.mean(axis, **keepdims_kw)
C:\Python312\Lib\site-packages\numpy\_core\_methods.py:147: RuntimeWarning: invalid value encountered in scalar divide
  ret = ret.dtype.type(ret / rcount)
Writing mask data to 'mask.json'.

Zusätzlich wird mir angezeigt, dass ich einen HP-Drucker habe, obwohl ich tatsächlich einen Canon-Drucker verwende.

mask 2.json
Image
mask 3.json
Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions