Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nerfacc
Commits
24a46a2e
Commit
24a46a2e
authored
Sep 14, 2022
by
Matt Tancik
Browse files
Update project settings
parent
5697b2b2
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
58 additions
and
25 deletions
+58
-25
.readthedocs.yaml
.readthedocs.yaml
+9
-5
banchmarks/instant-ngp
banchmarks/instant-ngp
+0
-1
docs/requirements.txt
docs/requirements.txt
+0
-0
examples/README.md
examples/README.md
+22
-0
examples/requirements.txt
examples/requirements.txt
+0
-5
pyproject.toml
pyproject.toml
+25
-1
requirements.txt
requirements.txt
+0
-4
setup.py
setup.py
+0
-8
setup.sh
setup.sh
+2
-1
No files found.
.readthedocs.yaml
View file @
24a46a2e
version
:
2
sphinx
:
fail_on_warning
:
true
python
:
version
:
3.8
install
:
-
requirements
:
requirements.txt
-
requirements
:
docs/requirements.txt
# Equivalent to 'pip install .'
-
method
:
pip
path
:
.
sphinx
:
fail_on_warning
:
true
\ No newline at end of file
# Equivalent to 'pip install .[docs]'
-
method
:
pip
path
:
.
extra_requirements
:
-
docs
instant-ngp
@
25dec33c
Subproject commit 25dec33c253f035485bb2e1f8563e12ef3134e8b
docs/requirements.txt
deleted
100644 → 0
View file @
5697b2b2
examples/README.md
0 → 100644
View file @
24a46a2e
# Examples using nerfacc
## Installation
Extra dependencies are needed.
You should make sure that you are using version of pytorch that support CUDA 11.
```
pip install torch --extra-index-url https://download.pytorch.org/whl/cu113
```
Then install via pip
```
pip install nerfacc[examples]
```
To install locally
```
pip install -e .[examples]
```
examples/requirements.txt
deleted
100644 → 0
View file @
5697b2b2
git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
opencv-python
imageio
numpy
tqdm
\ No newline at end of file
pyproject.toml
View file @
24a46a2e
[build-system]
requires
=
["setuptools>=61.0"]
build-backend
=
"setuptools.build_meta"
[project]
name
=
"nerfacc"
version
=
"0.0.3"
authors
=
[
{name
=
"Ruilong"
,
email
=
"ruilongli94@gmail.com"
}
]
dynamic
=
[
"version"
,
"description"
]
\ No newline at end of file
license
=
{
text
=
"MIT"
}
requires-python
=
">=3.8"
dependencies
=
[
"ninja>=1.10.2.3"
,
"pybind11>=2.10.0"
,
"torch>=1.12.1"
]
[project.optional-dependencies]
# for example scripts
examples
=
[
"tinycudann @ git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch"
,
"opencv-python"
,
"imageio"
,
"numpy"
,
"tqdm"
,
]
# for documentation
docs
=
[]
\ No newline at end of file
requirements.txt
deleted
100644 → 0
View file @
5697b2b2
ninja
pybind11
torch
# torch-scatter -f https://data.pyg.org/whl/torch-1.12.0+cu102.html
\ No newline at end of file
setup.py
deleted
100644 → 0
View file @
5697b2b2
from
setuptools
import
find_packages
,
setup
setup
(
name
=
"nerfacc"
,
description
=
"NeRF accelerated rendering"
,
version
=
"0.0.3"
,
packages
=
find_packages
(
exclude
=
(
"tests*"
,)),
)
setup.sh
View file @
24a46a2e
conda create
-n
nerfacc
python
=
3.9
-y
conda activate nerfacc
pip
install
-r
requirements.txt
\ No newline at end of file
conda
install
pytorch
cudatoolkit
=
11.3
-c
pytorch
-y
pip
install
-e
.
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment