add data_splitor, modify dataset and encoder

This commit is contained in:
hofee
2024-09-04 23:38:30 +08:00
parent e0fb9a7617
commit 129bcb872e
7 changed files with 148 additions and 50 deletions

View File

@@ -17,6 +17,9 @@ class NBVReconstructionPipeline(nn.Module):
def forward(self, data):
mode = data["mode"]
# ----- Debug Trace ----- #
import ipdb; ipdb.set_trace()
# ------------------------ #
if mode == namespace.Mode.TRAIN:
return self.forward_train(data)
elif mode == namespace.Mode.TEST: