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

Failed to debug the code with VSCode (Unavailable Break point) #198

Open
wliebtzy opened this issue Nov 17, 2022 · 0 comments
Open

Failed to debug the code with VSCode (Unavailable Break point) #198

wliebtzy opened this issue Nov 17, 2022 · 0 comments

Comments

@wliebtzy
Copy link

Hello,
I try to debug the inference process and monitor the variables in swin transformer object detection. When I set a break point in function "single_gpu_test" in "/Swin-Transformer-Object-Detection/mmdet/apis", it is useless. And I find that the code runs the "single_gpu_test" in "lib/python3.8/site-packages/mmdet-2.11.0-py3.8.egg/mmdet/apis". So how can I set a available break point to check the variables in "single_gpu_test"? Why is the definition of the function "single_gpu_test" in the "/Swin-Transformer-Object-Detection/mmdet/apis" but implemented in "lib/python3.8/site-packages/mmdet-2.11.0-py3.8.egg/mmdet/apis"?

Thank you!

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

1 participant