Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run demo.py error: File "/home/user/STEP/data/customize.py", line 105, in read_images return np.stack(images, axis=0) raise ValueError('all input arrays must have the same shape') ValueError: all input arrays must have the same shape #6

Open
yangzhegithub opened this issue Jan 14, 2020 · 4 comments

Comments

@yangzhegithub
Copy link

No description provided.

@yushanshan05
Copy link

I met the same problem.
In my problem, it is the image name not started from 0. When read one image which is not exist, and read annother image which is exist, there will be the error. Two numpy arrray is not the same shape.
So I modify the name of images, then everything is ok.

@yangzhegithub
Copy link
Author

@yushanshan05 thanks.

@PabloDino
Copy link

PabloDino commented Feb 24, 2020 via email

@AhmadManzoor
Copy link

make sure all frames are from same video, This problem happens when frames sizes are different

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

No branches or pull requests

4 participants