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

ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (2,) + inhomogeneous part. #41

Open
yangqinhui0423 opened this issue Jul 15, 2024 · 0 comments

Comments

@yangqinhui0423
Copy link

Hello, when I run "python utils/preprocess_scan.py scans-th/0000 shape-th/0000 0000 shape/", I met error as follows

QQ20240715-181650

Then I turn to run the demo, but when I run "python test_IPNet.py assets/scan.obj experiments/IPNet_p5000_01_exp_id01/checkpoints/checkpoint_epoch_249.tar result -m IPNet", also get similar error:
QQ20240715-181929
Then I print the value to check:
new_cent: 0.0
cent: [ 0.00050615 0.12534159 -0.02938709]
SCALE: 1.5
scale: 1.7173610000000001
It seems that the two array have different shape thus causing the error, but I have no idea how to solve it.
Has anyone met similar error? Wish your help! Many thanks.

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

1 participant