You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (6,) + inhomogeneous part.
#13
Open
reddy92rosh opened this issue
Oct 19, 2023
· 2 comments
I get the following error due to inhomogeneous shampes in graphs. Did anyone else face this? How do I solve it?
File "/home/roshan/Documents/TextToSchematics/house_diffusion/house_diffusion/rplanhg_datasets.py", line 243, in init
np.savez_compressed(f'processed_rplan/rplan_{set_name}_{target_set}', graphs=self.graphs, houses=self.houses,
File "/home/roshan/anaconda3/envs/houseDiff/lib/python3.11/site-packages/numpy/lib/npyio.py", line 710, in savez_compressed
_savez(file, args, kwds, True)
File "/home/roshan/anaconda3/envs/houseDiff/lib/python3.11/site-packages/numpy/lib/npyio.py", line 740, in _savez
val = np.asanyarray(val)
^^^^^^^^^^^^^^^^^^
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (6,) + inhomogeneous part.
The text was updated successfully, but these errors were encountered:
I get the following error due to inhomogeneous shampes in graphs. Did anyone else face this? How do I solve it?
File "/home/roshan/Documents/TextToSchematics/house_diffusion/house_diffusion/rplanhg_datasets.py", line 243, in init
np.savez_compressed(f'processed_rplan/rplan_{set_name}_{target_set}', graphs=self.graphs, houses=self.houses,
File "/home/roshan/anaconda3/envs/houseDiff/lib/python3.11/site-packages/numpy/lib/npyio.py", line 710, in savez_compressed
_savez(file, args, kwds, True)
File "/home/roshan/anaconda3/envs/houseDiff/lib/python3.11/site-packages/numpy/lib/npyio.py", line 740, in _savez
val = np.asanyarray(val)
^^^^^^^^^^^^^^^^^^
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (6,) + inhomogeneous part.
The text was updated successfully, but these errors were encountered: