Skip to content

Conversation

YUHOUCHAXING
Copy link

@YUHOUCHAXING YUHOUCHAXING commented Apr 9, 2024

我与同学(一个使用Mac 一个使用Windows)共同遇到以下问题,希望其他人不再遇到此问题
According to #839 and #832

I fixed the ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (5,) + inhomogeneous part.

And I also fixed AttrubuteError: module numpy has no attribute 'float'

Finally, I fixed the AttributeError: 'Row' object has no attribute 'style'

I fixed the `ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (5,) + inhomogeneous part.`

And I also fixed `AttrubuteError: module `numpy` has no attribute 'float'`

Finally, I fixed the `AttributeError: 'Row' object has no attribute 'style'`
Copy link

@ericdum ericdum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. gradio == 3.5 is works, but 3.50 might better.
  2. np.float is a deprecated alias for the built-in float, thus change to float is ok.
  3. I've double checked the dtype, the last two params is array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants