Python Forum
ValueError: could not broadcast input array from shape (1555200) into shape (0) - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: ValueError: could not broadcast input array from shape (1555200) into shape (0) (/thread-11012.html)



ValueError: could not broadcast input array from shape (1555200) into shape (0) - promach - Jun-18-2018

For mxp_filters.ipynb , why do I have the following error ?
Error:
error "ValueError: could not broadcast input array from shape (1555200) into shape (0)"


1555200 equals 1080*1440 and this makes me confused

The above mxp_filters.ipynb is modified from mxp_filters_hdmi.ipynb by just removing the HDMI input and output requirements ?

Please see this PYNQ github issue as well


RE: ValueError: could not broadcast input array from shape (1555200) into shape (0) - promach - Jun-18-2018

It seems like to_bytes() is the issue here, but I need to_bytes(), otherwise I will stuck at this error

https://github.com/VectorBlox/PYNQ/blob/vectorblox/python/pynq/mmio.py#L183

[Image: 35476206_10155624341637263_1258680044864...e=5BA4394F]