Fixed testing and added graph abstractions (#64)

* abstracted some test logic and actually using test images now

* moved logging from trainer to graph

* fixing dataset path

* refactored instant ngp code to use inheritance

* fixed my run_train

* fixed data path

* fixed data dir
This commit is contained in:
Ethan Weber authored and GitHub committed 2022-05-09 11:54:40 -07:00
1 parent e83ce4f61b
commit 5fb3d14304
26 files changed
+8526 -270

No files matched your search

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 293 KiB

+35
View File
@@ -0,0 +1,35 @@
{
"camera_angle_x": 0.6911112070083618,
"frames": [
{
"file_path": "./train/r_0",
"rotation": 0.012566370614359171,
"transform_matrix": [
[
-0.9999021887779236,
0.004192245192825794,
-0.013345719315111637,
-0.05379832163453102
],
[
-0.013988681137561798,
-0.2996590733528137,
0.95394366979599,
3.845470428466797
],
[
-4.656612873077393e-10,
0.9540371894836426,
0.29968830943107605,
1.2080823183059692
],
[
0.0,
0.0,
0.0,
1.0
]
]
}
]
}
+35
View File
@@ -0,0 +1,35 @@
{
"camera_angle_x": 0.6911112070083618,
"frames": [
{
"file_path": "./val/r_0",
"rotation": 0.012566370614359171,
"transform_matrix": [
[
-0.963964581489563,
-0.2611401677131653,
0.0507759265601635,
0.2046843022108078
],
[
0.26603081822395325,
-0.9462433457374573,
0.18398693203926086,
0.7416750192642212
],
[
7.450580596923828e-09,
0.1908649355173111,
0.9816163182258606,
3.957021951675415
],
[
0.0,
0.0,
0.0,
1.0
]
]
}
]
}
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 439 KiB