lelleMU / Procedrual_Tree_Modeling

An implementation of "Oblique Photogrammetry Supporting Procedural Tree Modeling in Urban Areas" using python
7 stars 2 forks source link

Procedural_Tree_Modeling soes not work on M3 Apple silicon macs #4

Open rudifa opened 3 days ago

rudifa commented 3 days ago

This is because there is no numba implementation on these computers.

Any ideas on how to overcome this limitation?

lelleMU commented 3 days ago

Hi! Thanks for your attention to our work. In fact, the numba is used in light calculation stage, typically in function EZ_CUDA_compute_light_intensity_fast, you can swich to the cpu version CPU_compute_light_fast at the line 72 in the 'lpy.py' . However, I still recommend you to use the device with Nvidia GPUs to accelerate this process, since it is really time-consuming! :( We will fix the time-efficiency probelm in the coming work. You can pay a special attention to it : ).