Open UannaFF opened 5 years ago
Your voxel volume size is too large, which is caused by your voxel parameters. You can see there is a "MemoryError". Since it's running on your CPU's RAM, you need to limit the voxel volume size by either increasing voxel_size from 0.02 to a larger value (i.e. 0.05 or 0.1) or by reducing the dimensions of the voxel (for example, by directly modifying the values of vol_bnds
).
Hello! i'm trying to modify the demo to get data from a folder instead of your data but i'm getting this error
Initializing voxel volume... Voxel volume size: 5770 x 4123 x 3752 Traceback (most recent call last): File "getfusion.py", line 48, in
tsdf_vol = fusion.TSDFVolume(vol_bnds,voxel_size=0.02)
File "/home/anigomez/Documents/DepthWork/tsdf-fusion-python/fusion.py", line 34, in init
self._tsdf_vol_cpu = np.ones(self._vol_dim).astype(np.float32)
File "/home/anigomez/.local/lib/python2.7/site-packages/numpy/core/numeric.py", line 223, in ones
a = empty(shape, dtype, order)
MemoryError
I left the voxel params the same as before, can you please tell me if i need to calculate voxel bounds, and if possible, how to do it?
here is my modified demo.py:
getfusion.txt