Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Wangkkklll opened this issue Oct 13, 2023 · 1 comment

Comments

@Wangkkklll
Copy link

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.

@YodaEmbedding
Copy link
Contributor

YodaEmbedding commented Oct 13, 2023

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 d4bf844, 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants