Spaces:
Configuration error
Configuration error
Download open3d_zerogpu_fix.py from TencentARC/FreeSplatter: direct link, hf CLI and curl.
- Browser
- Download file 265 Bytes
-
https://huggingface.co/spaces/TencentARC/FreeSplatter/resolve/6f3d1393b1974deb2d10d4687a79d8c44be55361/open3d_zerogpu_fix.py
- Command line
-
hf download hf://spaces/TencentARC/FreeSplatter@6f3d1393b1974deb2d10d4687a79d8c44be55361/open3d_zerogpu_fix.py
-
curl -L -o open3d_zerogpu_fix.py https://huggingface.co/spaces/TencentARC/FreeSplatter/resolve/6f3d1393b1974deb2d10d4687a79d8c44be55361/open3d_zerogpu_fix.py
265 Bytes
| import fileinput | |
| import site | |
| from pathlib import Path | |
| with fileinput.FileInput(f'{site.getsitepackages()[0]}/open3d/__init__.py', inplace=True) as file: | |
| for line in file: | |
| print(line.replace('_pybind_cuda.open3d_core_cuda_device_count()', '1'), end='') | |