warnings.warn(F64_PRECISION_WARNING)
noobth1nker opened this issue · 6 comments
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.
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.
I found some solutions that may be helpful to you. napari/napari#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.!
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.
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.
Thank you for your reply. I will try changing the environment and give it a try.