Python Forum
TensorFlow get error - array with more than one element is ambiguous
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TensorFlow get error - array with more than one element is ambiguous
#2
pred_img[0] is not a single value as you expect it to be, it´s an array.
So look into how pred_img is created.
Reply


Messages In This Thread
RE: TensorFlow get error - array with more than one element is ambiguous - by ThomasL - Nov-07-2019, 06:21 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  RandomForest --ValueError: setting an array element with a sequence JaneTan 0 2,511 Sep-08-2021, 02:12 AM
Last Post: JaneTan
  type error array BrianPA 2 3,356 Jan-17-2021, 01:48 PM
Last Post: BrianPA
  Data cardinality is ambiguous: x sizes: 51 y sizes: 26 sidra 0 3,027 Oct-03-2020, 11:43 AM
Last Post: sidra
  How to install tensorflow? It shows as error jaroslavtavgen 1 3,218 Apr-26-2020, 10:09 PM
Last Post: Larz60+
  error : value of a DataFrame is ambiguous Sonata 1 3,382 Apr-24-2020, 05:40 PM
Last Post: anbu23
  I am trying to change the value of an element in a record array ingu 1 2,933 Jan-14-2020, 01:30 PM
Last Post: perfringo
  TensorFlow CNN get error - DataType uint8 not in list vokoyo 3 8,038 Nov-09-2019, 04:03 AM
Last Post: xuanloc97
  ValueError: The truth value of a Series is ambiguous ? firebird 1 4,998 Aug-01-2019, 12:33 AM
Last Post: scidam
  How to add an element such as an average to a multi-dimensional array? xhughesey 6 5,601 Jan-06-2019, 10:47 PM
Last Post: xhughesey
  python odeint keeps giving me size of array error kiyoshi7 1 7,648 Nov-01-2018, 02:03 AM
Last Post: j.crater

Forum Jump:

User Panel Messages

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