Using different data for testing
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
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:
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).