mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-22 15:20:34 +08:00
load whole dataset in train loop
Summary: Loads the whole dataset and moves it to the device and sends it to for sampling to enable full dataset heterogeneous raysampling. Reviewed By: bottler Differential Revision: D39263009 fbshipit-source-id: c527537dfc5f50116849656c9e171e868f6845b1
This commit is contained in:
committed by
Facebook GitHub Bot
parent
c311a4cbb9
commit
37bd280d19
@@ -222,6 +222,7 @@ class Experiment(Configurable): # pyre-ignore: 13
|
||||
train_loader=train_loader,
|
||||
val_loader=val_loader,
|
||||
test_loader=test_loader,
|
||||
# pyre-ignore[6]
|
||||
train_dataset=datasets.train,
|
||||
model=model,
|
||||
optimizer=optimizer,
|
||||
|
||||
Reference in New Issue
Block a user