Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NameError: name 'save_query_path' is not defined #56

Open
hitbuyi opened this issue Jul 10, 2024 · 2 comments
Open

NameError: name 'save_query_path' is not defined #56

hitbuyi opened this issue Jul 10, 2024 · 2 comments

Comments

@hitbuyi
Copy link

hitbuyi commented Jul 10, 2024

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)
@441599828
Copy link

hi, I have the same problem with you, how to solve this problem, thx.

@CoroamaDianaMihaela
Copy link

Hi! It should work if you de-comment that part where the save_query_path is initialized, just remember to set your dataset path. I , however, do not know why someone commented that out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants