haomo-ai / MotionSeg3D

[IROS 2022] Efficient Spatial-Temporal Information Fusion for LiDAR-Based 3D Moving Object Segmentation
https://npucvr.github.io/MotionSeg3D/
GNU General Public License v3.0
242 stars 21 forks source link

warnings.warn(F64_PRECISION_WARNING) #25

Closed noobth1nker closed 6 months ago

noobth1nker commented 6 months ago

When I execute visualize.mos.py, if I choose the results in oursv2 for visualization, many frames of data will appear completely black. However, if I choose the results in oursv1 for visualization, this situation will not occur. In both cases, a UserWarning will appear: GPUs can't support floating point data with more than 32 bits, precision will be lost due to downcasting to 32 bit float. I don't know if it's the issue with this warning prompt, I couldn't find a solution online. 9d2b1afbeb55e4deb7de017519e9d2da b4ac762e159237723c3b345b2353d4d2

MaxChanger commented 6 months ago

Hi, could you provide information about your running environment, GPU version, cuda version, and pytorch version? This looks more like some kind of problem with GPU or CUDA.

MaxChanger commented 6 months ago

I found some solutions that may be helpful to you. https://github.com/napari/napari/issues/3726 It seems that the underlying package vispy that the visualization tool depends on reported this error to you?

Below is the warning mentioned in this issue. Not sure if it's similar to yours. If so, maybe you can adjust the vispy version?

/home/czaki/.pyenv/versions/napari/lib/python3.8/site-packages/vispy/gloo/texture.py:28: UserWarning: GPUs can't support floating point data with more than 32-bits, precision will be lost due to downcasting to 32-bit float.!

noobth1nker commented 6 months ago

I'm sorry for the delayed response. I tried updating the version of Vispy from Vispy0.7.0 to Vispy0.11.0, but it still doesn't work. My GPU version is the 1050Ti laptop version, cuda version is 12.2, pytorch version is 1.7.0, and the versions of other packages are consistent with the versions in your environment.yaml and requirements. txt files. 73be5c6a278c5d25bad99adbf01aa720

MaxChanger commented 6 months ago

Sorry, I don't have a similar environment to reproduce your problem, so it's difficult to provide helpful advice. It feels like there is an environmental problem such as the package used or cuda, etc., which can be investigated from this perspective. If you have any questions about the algorithm of our project, please feel free to discuss it.

noobth1nker commented 6 months ago

Thank you for your reply. I will try changing the environment and give it a try.

noobth1nker commented 5 months ago

作者您好,我最近使用别的主机进行测试,发现还是会出现我上面提到的问题,我详细检查了一下输出结果的具体数据,使用预训练模型并使用python infer.py -d ./toydata -m ./log/motionseg3d_pointrefine -l ./pred/oursv2 -s valid --pointrefine这个指令输出的结果中,无法可视化显示的帧的.label文件数据全为0(见附图)。因此我觉得是模型输出的问题导致我之前出现的情况,请问这个该怎么解决呢? QQ图片20240509125411