bharat-b7 / IPNet

Repo for "Combining Implicit Function Learning and Parametric Models for 3D Human Reconstruction, ECCV'20(Oral)""
226 stars 27 forks source link

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 4 months ago

yangqinhui0423 commented 4 months ago

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.