Skip to content

Bugs of training in Windows 10 and the solutions #20

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

Closed
Zerui-Yu opened this issue Feb 20, 2025 · 3 comments
Closed

Bugs of training in Windows 10 and the solutions #20

Zerui-Yu opened this issue Feb 20, 2025 · 3 comments

Comments

@Zerui-Yu
Copy link

In fact deploying this project on windows 10 is quite troublesome, my GPU is 4090, there are a lot of bugs , including:

  1. AttributeError: module 'distutils' has no attribute '_msvccompiler'
    Solution: lower the setuptools
  2. [WinError 1455] The page file is too small to complete the operation (页面文件太小,无法完成操作)
    Solution: First, Advanced System Settings --> Increase the virtual memory (e.g., 20GB), second, restart your computer and find the following code in dtu.py, colmap.py, blender.py :
def general_loader(self, dataset, batch_size):
    sampler = None
    return DataLoader(
        dataset, 
        num_workers=os.cpu_count(),
        batch_size=batch_size,
        pin_memory=True,
        sampler=sampler
    )

Change os.cpu_count() to a suitable value, maybe 4 or 6? Just have a try.
3. Loss=NaN after 15000 iters
Solution: modify os.cpu_count() to 0, but this will dramatically reduce the training speed to about 5 iters/s after 15000 iters.

All in all, this works.

Image

@zf-123
Copy link

zf-123 commented Apr 17, 2025

Hi, are your results on the dtu dataset consistent with the paper?

@Zerui-Yu
Copy link
Author

Hi, are your results on the dtu dataset consistent with the paper?

I tried my best, but I still didn't run the project correctly, so I didn't bother to verify. If you want a better reconstuction result, try PGSR

@zf-123
Copy link

zf-123 commented Apr 17, 2025

Hi, are your results on the dtu dataset consistent with the paper?

I tried my best, but I still didn't run the project correctly, so I didn't bother to verify. If you want a better reconstuction result, try PGSR

Thanks

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