Cache full dataset by default (#157)

Cache full dataset by default
This commit is contained in:
Matthew Tancik authored and GitHub committed 2022-07-15 17:52:15 -07:00
1 parent 2a23763e7b
commit ab35e28871
4 files changed
+13 -19

No files matched your search

+1 -2
View File
@@ -58,8 +58,7 @@ data:
_target_: pyrad.data.dataloader.TrainDataloader
image_sampler:
_target_: pyrad.data.image_sampler.CacheImageSampler
num_images_to_sample_from: 8
num_times_to_repeat_images: 100
num_images_to_sample_from: -1
pixel_sampler:
_target_: pyrad.data.pixel_sampler.PixelSampler
num_rays_per_batch: 1024
+1 -1
View File
@@ -27,5 +27,5 @@ optimizers:
fields:
optimizer:
lr: 1e-2
eps: 1e-4 # for float16 stability
eps: 1e-7 # need to investigate further for float16 stability
scheduler: null
-9
View File
@@ -16,12 +16,3 @@ graph:
loss_coefficients:
rgb_loss_coarse: 0.1
rgb_loss_fine: 1.0
data:
# Train dataloading.
dataloader_train:
_target_: pyrad.data.dataloader.TrainDataloader
image_sampler:
_target_: pyrad.data.image_sampler.CacheImageSampler
num_images_to_sample_from: 0
num_times_to_repeat_images: -1