Skip to content

when select effect1,cast ValueError #1

@zero-oclock

Description

@zero-oclock

python3 toon.py 333.jpeg
[1] Sketch
[2] Stylize
Choose a effect: 1
<array_function internals>:5: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
Traceback (most recent call last):
File "toon.py", line 47, in
vis = np.concatenate((face1, editedface), axis=1)
File "<array_function internals>", line 5, in concatenate
ValueError: could not broadcast input array from shape (637,320,3) into shape (637,320)

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