-
Notifications
You must be signed in to change notification settings - Fork 337
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
OSError: [Errno 22] Invalid argument #526
Comments
Looks like a python error, can you try a lower python version, like 3.10? I suggest using a conda environment, where you can control all dependencies and packages installed for reproducibility. Something like the following might work well:
|
@maturk Thanks for the instruction. I reinstalled gsplat using conda but still get the same error.
Also FYI I had to apply this fix to pycolmap before running simple_trainer.py: Perhaps I should try installing gsplat in WSL2. |
It is hard to debug, since I believe these are issues on the windows side (for both pycolmap and this error it seems). stackexchange suggests that this is a bug with pytorch on windows, and a fix is setting As a quick test, can you set this variable to 1 instead of 4: gsplat/examples/simple_trainer.py Line 547 in 2df0a95
|
@maturk Changing the variable to make it a single process worked (training started)...until it crashed in the middle of the training with the exact same error. I could use an EC2 instance w/ GPU (the only reason I've been using Windows for this is because I need to use RealityCapture). |
@BladeTransformerLLC, cool thanks for testing. Yes this confirms my belief that this problem stems from an external issue, PyTorch/Python on Windows, and not from any code specific issue within the gsplat library. |
Hi there,
Based on the following article I've been trying to run gsplat + mcmc + bilagrid.
https://medium.com/@heyulei/align-cameras-in-realitycapture-and-integrate-with-gaussian-splatting-gsplat-4203aa080aa0
However, when running the command python
simple_trainer.py mcmc --data_factor 1 --use_bilateral_grid --data_dir [data] --result_dir [out]
I get the following error:My environment:
Windows 10
Python 3.12.6
PyTorch 2.4.1+cu118
The text was updated successfully, but these errors were encountered: