Python Forum
ValueError: could not broadcast input array from shape (1555200) into shape (0)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ValueError: could not broadcast input array from shape (1555200) into shape (0)
#1
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
Reply
#2
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/...io.py#L183

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  output shape problem with np.arange alan6690 5 770 Dec-26-2023, 05:44 PM
Last Post: deanhystad
  convert address and broadcast to network object Skaperen 9 1,851 Mar-09-2023, 06:55 PM
Last Post: Skaperen
  simplekml change shape&color issac_n 2 2,880 Aug-20-2022, 07:15 PM
Last Post: Joseph_Paintsil
  ValueError: Found input variables with inconsistent numbers of samples saoko 0 2,504 Jun-16-2022, 06:59 PM
Last Post: saoko
Question Change elements of array based on position of input data Cola_Reb 6 2,193 May-13-2022, 12:57 PM
Last Post: Cola_Reb
  operands could not be broadcast together with shapes (337,451) (225,301) kevinabbot 0 1,589 Dec-14-2021, 04:02 PM
Last Post: kevinabbot
  Can't properly shape an array maaaa2401 3 2,365 Dec-18-2020, 09:32 AM
Last Post: maaaa2401
  Function with array input Gerkamspiano 5 2,555 Dec-01-2020, 08:48 AM
Last Post: Gerkamspiano
  ValueError: shape mismatched: objects cannot be broadcast to a single shape Laplace12 0 4,536 Jul-14-2020, 11:45 AM
Last Post: Laplace12
  Receiving ValueError("bad input shape {0}".format(shape)) error SuryaCitizen 2 3,538 Jun-01-2020, 06:45 AM
Last Post: pyzyx3qwerty

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020