Skip to content

Commit 75d622b

Browse files
committed
hotfix: remove precrop after the first validation
1 parent 7ac9ebe commit 75d622b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

dataloader/sampler.py

+1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ def __iter__(self):
9292
np.random.choice(np.arange(image_shape[i, 0] * image_shape[i, 1]), self.batch_size)
9393
for i in range(self.epoch_size - self.precrop_steps)
9494
]
95+
self.precrop = False
9596

9697
for ((h, w), image_idx, idx) in zip(image_shape, image_choice, idx_choice):
9798
idx_ret = image_idx * h * w + idx

docs/jaxnerf.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ In addition, we have implemented the heavy model, dubbed JaxNeRF+, to reproduce
88

99
:white_check_mark: DDP support!
1010

11-
:white_check_mark: Large Model (JaxNeRF+)
11+
:white_check_mark: Large Model (NeRF+)
1212

1313
## Differences
1414
This section compares the JaxNeRF and the original NeRF. In addition, we also provide additional details that we have changed in this implementation and their corrsponding reasons.

0 commit comments

Comments
 (0)