mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-08-02 03:42:50 +08:00
fix eval_batches in V1
Summary: fix to the D38275943 (597e0259dc
).
Reviewed By: bottler
Differential Revision: D38355683
fbshipit-source-id: f326f45279fafa57f24b9211ebd3fda18a518937
This commit is contained in:
parent
b7b188bf54
commit
c63ec81750
@ -177,7 +177,9 @@ class JsonIndexDataset(DatasetBase, ReplaceableBase):
|
||||
raise ValueError(
|
||||
"Cannot define both eval_batch_index and eval_batches."
|
||||
)
|
||||
self.eval_batches = self.seq_frame_index_to_dataset_index()
|
||||
self.eval_batches = self.seq_frame_index_to_dataset_index(
|
||||
self.eval_batch_index
|
||||
)
|
||||
|
||||
def is_filtered(self):
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user