Commit Graph

21 Commits

Author SHA1 Message Date
Stefan Saraev
b5a5f72eda load speedup: refactored image loading
Images are now loaded on the target device as uint8s.
Then they are converted to the target data type (eg. fp32 or fp16).
This speeds up the loading time.

Also, users can opt to store the image as uint8 or as target data type.
This will further reduce memory usage.
2024-05-15 22:32:58 +03:00
Stefan Saraev
18eb6d6a0c added support for setting floating point range
Users may want to reduce their memory consumption by using fp16.
However, in my tests, such attempts will result in lower quality renders.
Some data type conversions did not have any impact, so I removed them completely.
2024-05-15 22:29:23 +03:00
bkerbl
ea68bdf29c Bump rasterizer, faster text loading 2023-09-05 19:30:53 +02:00
Jakub Červený
0f125cbd5f
Fix conversion from Blender to COLMAP coords in NeRF camera import. (#111)
Co-authored-by: Jakub Červený <jakub.cerveny@melowntech.com>
2023-08-24 08:38:48 -07:00
Pythonix Huang
8c75a90f56 Add sort to ensure right order of properties read from ply file 2023-07-27 16:49:45 +08:00
bkerbl
6891d458f9 Scaling LR fixed 2023-07-16 11:48:04 +02:00
bkerbl
ab6d668c51 Rolling back fixed spatial lr 2023-07-15 11:12:25 +02:00
bkerbl
6b54263364 Added checkpoints 2023-07-14 21:30:43 +02:00
bkerbl
e46b49543f Support for varying image sizes 2023-07-14 01:52:00 +02:00
bkerbl
b1a35bc94b Changed alpha init spatial lr behavior 2023-07-13 13:17:02 +02:00
bkerbl
73ad40f414 fixed learning rate for spatial 2023-07-13 13:17:02 +02:00
bkerbl
2d2d5ce1c3 Undo spatial lr removal 2023-07-13 13:16:57 +02:00
bkerbl
770f6b05e2 Clarification 2023-07-13 13:15:05 +02:00
Pythonix Huang
989320fdf2
Provide --data_device option to put data on CPU to save VRAM for training (#14)
* Provide --data_on_cpu option to save VRAM for training

when there are many training images such as in large scene, most of the VRAM are used to store training data, use --data_on_cpu  can help reduce VRAM and make it possible to train on GPU with less VRAM

* Fix data_on_cpu  effect on default mask

* --data_on_cpu to --data_device

* update readme

* format warning infos
2023-07-12 11:30:45 -07:00
bkerbl
d4e1e922bd Undo spatial lr removal 2023-07-12 12:14:22 +02:00
bkerbl
7e126c02c6 Clarification 2023-07-12 12:12:19 +02:00
Pythonix Huang
f4dfb3d3bf Fix spelling error (posititon to position as README said) 2023-07-11 18:16:07 +08:00
bkerbl
6a50784106 Better camera model error message 2023-07-10 14:40:51 +02:00
Zhensheng Yuan
f1d543c44f fix FileNotFoundError when reading points3D 2023-07-10 14:20:49 +08:00
Bernhard Kerbl
26942586b1 Added licenses, bumped submodule versions 2023-07-05 12:22:16 +02:00
bkerbl
15d64e6781 Initial commit 2023-07-04 10:00:48 +02:00