Project-AgML / AgML

AgML is a centralized framework for agricultural machine learning. AgML provides access to public agricultural datasets for common agricultural deep learning tasks, with standard benchmarks and pretrained models, as well the ability to generate synthetic data and annotations.
Apache License 2.0
167 stars 28 forks source link

Fatal error LiDAR.h No such file or directory #50

Open Vincent-WangCH opened 1 year ago

Vincent-WangCH commented 1 year ago

I have update from agml=0.4.6 to agml=0.5.0 and encounter "fatal error: LiDAR.h: No such file or directory" error when running "agml.synthetic.reinstall_helios()".

I have tried to use "pip install lidar" and that doesn't solve the error.

I am using wsl2 with win11

amogh7joshi commented 1 year ago

Hey @Vincent-WangCH, you need to use the lidar_enabled option: e.g., agml.synthetic.reinstall_helios(lidar_enabled = True). The lidar PyPi package is not used in this project, so pip install lidar won't do anything. Let me know if this helps.

amogh7joshi commented 11 months ago

@Vincent-WangCH, are you still having trouble with this issue?

sahith-vancha commented 10 months ago

Hey @amogh7joshi I have tried the mentioned step above but I'm getting the below error. Could you please help me ?

TypeError Traceback (most recent call last) Cell In[3], line 1 ----> 1 agml.synthetic.reinstall_helios(lidar_enabled = True)

TypeError: reinstall_helios() got an unexpected keyword argument 'lidar_enabled'

masonearles commented 10 months ago

@dariojavo Any thoughts on this?

dariojavo commented 10 months ago

Hi @sahith-vancha,

I imagine you are having the LiDAR.h: No such file or directory error prior to this one. Could you please try to remove your Helios installation folder manually? You can find it in the corresponding environment that you are using. For example:

/home/user/anaconda3/envs/example/lib/python3.8/site-packages/agml/_helios/Helios/

you can remove the 'Helios' folder and run your code again. Now, the latest version of Helios will be download with the updates that we have made to run it from AgML, including the LiDAR plugin.

masonearles commented 2 months ago

@Vincent-WangCH Did this resolve your issue?