Skip to content

Issue while processing photo #2

Description

@michuhu

numpy.AxisError:
filename: 193685896_4005819092837523_3349338800787390130_n.jpg

This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you're on Streamlit Cloud, click on 'Manage app' in the lower right of your app).

Traceback:
File "/home/appuser/venv/lib/python3.7/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 563, in _run_script
    exec(code, module.__dict__)
File "/app/asciigan/asciiGan.py", line 112, in <module>
    im = imgGen2(uploaded_file)
File "/app/asciigan/asciiGan.py", line 96, in imgGen2
    asciiart(inputf, SC, GCF, "results.png")   #default color, black to blue
File "/app/asciigan/asciiGan.py", line 41, in asciiart
    img = np.sum(np.asarray(img), axis=2)
File "<__array_function__ internals>", line 6, in sum
File "/home/appuser/venv/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 2260, in sum
    initial=initial, where=where)
File "/home/appuser/venv/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 86, in _wrapreduction
    return ufunc.reduce(obj, axis, dtype, out, **passkwargs)

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