learned-point-cloud-compression-for-classification icon indicating copy to clipboard operation
learned-point-cloud-compression-for-classification copied to clipboard

RuntimeError: No memory temporary dir found and fallback is disabled.

Open Wangkkklll opened this issue 2 years ago • 1 comments

f593cd2a384e71836afa9add1205f8b 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.

Wangkkklll avatar Oct 13 '23 09:10 Wangkkklll

It is not able to find a tmpfs directory like /tmp.

To fix this, do any of the following:

  1. Specify a temporary directory manually (preferably, but not necessarily, on a fast filesystem):

    tempfile = MemoryTempfile(preferred_paths=["/path/to/some/directory"])
    
  2. 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 tempfile if 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

YodaEmbedding avatar Oct 13 '23 13:10 YodaEmbedding