learned-point-cloud-compression-for-classification
learned-point-cloud-compression-for-classification copied to clipboard
RuntimeError: No memory temporary dir found and fallback is disabled.
I configured the environment according to the document, and the above error occurred during the final training. What is the reason? I will be very grateful for your answer.
It is not able to find a tmpfs directory like /tmp.
To fix this, do any of the following:
-
Specify a temporary directory manually (preferably, but not necessarily, on a fast filesystem):
tempfile = MemoryTempfile(preferred_paths=["/path/to/some/directory"]) -
Update to the latest git commit https://github.com/multimedialabsfu/learned-point-cloud-compression-for-classification/commit/d4bf844caac314b3ba3957728851e44469eb4313, which now automatically falls back to the default
tempfileif an error occurs.
The reason I used a temporary in-memory filesystem is because it can sometimes be faster than writing the intermediate .ply files to disk.
Related: memory_tempfile/memory_tempfile.py