NVlabs / VoxFormer

Official PyTorch implementation of VoxFormer [CVPR 2023 Highlight]
Other
1.04k stars 86 forks source link

NameError: name 'save_query_path' is not defined #56

Open hitbuyi opened 2 months ago

hitbuyi commented 2 months ago

when one epoch is finished, below error happend, save_query_path is commented out , what is the code meaning?

     # msnet3d
        # if not os.path.exists(os.path.join("./kitti/dataset/sequences_msnet3d_sweep10", img_metas[0]['sequence_id'], 'queries')):
            # os.makedirs(os.path.join("./kitti/dataset/sequences_msnet3d_sweep10", img_metas[0]['sequence_id'], 'queries'))
      # save_query_path = os.path.join("./kitti/dataset/sequences_msnet3d_sweep10", img_metas[0]['sequence_id'], 'queries', frame_id + ".query_iou5203_pre7712_rec6153")

        y_pred_bin = self.pack(y_pred)
        y_pred_bin.tofile(save_query_path)