Skip to content

Error while running XFIQ #1

Description

@abdu-khamd

Hey, folks! I encountered the following problem while running the XFIQ.py

  File "XFIQ.py", line 109, in <module>
    run(image_path, model_path, grad_path, T)
  File "XFIQ.py", line 82, in run
    np.save(save_path, save)
  File "<__array_function__ internals>", line 200, in save
  File "/home/shynggys/openvino_2021/lib/python3.8/site-packages/numpy/lib/npyio.py", line 521, in save
    arr = np.asanyarray(arr)
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 2 dimensions. The detected shape was (2, 3) + inhomogeneous part

I got installed:

Python 3.8
opencv-python=4.6.0.66
Tensorflow=2.7.3
numpy=1.24.0
sklearn=1.2.0
matplotlib=3.6.2
tqdm=4.63.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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