Skip to content

Commit

Permalink
feat(ml): debug vid metric
Browse files Browse the repository at this point in the history
  • Loading branch information
wr0124 authored and beniz committed Oct 1, 2024
1 parent 5e15346 commit ba43725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/palette_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ def inference(self, nb_imgs, offset=0):
else:
for name in self.gen_visual_names:
whole_tensor = getattr(self, name[:-1]) # i.e. self.output, ...
for bs in range(self.opt.train_batch_size):
for bs in range(min(nb_imgs, self.get_current_batch_size())):
for k in range(self.opt.data_temporal_number_frames):
cur_name = name + str(
offset + bs * (self.opt.data_temporal_number_frames) + k
Expand Down

0 comments on commit ba43725

Please sign in to comment.