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
b3a141aa
Commit
b3a141aa
authored
Sep 09, 2022
by
Ruilong Li
Browse files
switch to test set
parent
075e073b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
README.md
README.md
+2
-2
examples/trainval.py
examples/trainval.py
+3
-3
No files found.
README.md
View file @
b3a141aa
...
@@ -10,10 +10,10 @@ python examples/trainval.py
...
@@ -10,10 +10,10 @@ python examples/trainval.py
## Performance Reference
## Performance Reference
Tested with the default settings on the Lego
data
set.
Tested with the default settings on the Lego
test
set.
| Model | Split | PSNR | Train Time | Test Speed | GPU |
| Model | Split | PSNR | Train Time | Test Speed | GPU |
| - | - | - | - | - | - |
| - | - | - | - | - | - |
| instant-ngp (paper) | trainval? | 36.39 | - | - | 3090 |
| instant-ngp (paper) | trainval? | 36.39 | - | - | 3090 |
| torch-ngp (
`-O`
) | train (30K steps) | 34.15 | 310 sec | 7.8 fps | V100 |
| torch-ngp (
`-O`
) | train (30K steps) | 34.15 | 310 sec | 7.8 fps | V100 |
| ours | train (30K steps) | 34.42 | 320 sec | 6.1 fps | TITAN RTX |
| ours | train (30K steps) | 33.27 | 318 sec | 6.2 fps | TITAN RTX |
\ No newline at end of file
\ No newline at end of file
examples/trainval.py
View file @
b3a141aa
...
@@ -76,7 +76,7 @@ if __name__ == "__main__":
...
@@ -76,7 +76,7 @@ if __name__ == "__main__":
val_dataset
=
SubjectLoader
(
val_dataset
=
SubjectLoader
(
subject_id
=
"lego"
,
subject_id
=
"lego"
,
root_fp
=
"/home/ruilongli/data/nerf_synthetic/"
,
root_fp
=
"/home/ruilongli/data/nerf_synthetic/"
,
split
=
"
val
"
,
split
=
"
test
"
,
num_rays
=
None
,
num_rays
=
None
,
)
)
val_dataloader
=
torch
.
utils
.
data
.
DataLoader
(
val_dataloader
=
torch
.
utils
.
data
.
DataLoader
(
...
@@ -176,5 +176,5 @@ if __name__ == "__main__":
...
@@ -176,5 +176,5 @@ if __name__ == "__main__":
psnr_avg
=
sum
(
psnrs
)
/
len
(
psnrs
)
psnr_avg
=
sum
(
psnrs
)
/
len
(
psnrs
)
print
(
f
"evaluation:
{
psnr_avg
=
}
"
)
print
(
f
"evaluation:
{
psnr_avg
=
}
"
)
# elapsed_time=3
20.04
s | step=30000 | loss= 0.0002
2
# elapsed_time=3
17.59
s | step=30000 | loss= 0.0002
8
# evaluation: psnr_avg=3
4.41712421417236
(6.
13
it/s)
# evaluation: psnr_avg=3
3.27096959114075
(6.
24
it/s)
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