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

Making inferences with test images #9

Open
mswartz2 opened this issue Jul 18, 2023 · 3 comments
Open

Making inferences with test images #9

mswartz2 opened this issue Jul 18, 2023 · 3 comments

Comments

@mswartz2
Copy link

Has anyone been able to run the pretrained UnSniffer to make inferences with test data? I have tried to import numerous objects and functions from the inference folder, but each time, I getting this partially initialized module error:

ImportError: cannot import name 'GeneralizedRcnnPlainPredictor' from partially initialized module 'UnSniffer.detection.inference.rcnn_predictor' (most likely due to a circular import)

@mswartz2
Copy link
Author

UPDATE: I have been able to get build_predictor(cfg) to import properly, but I am still having issues getting inference to run on an example img.png file.

@Went-Liang
Copy link
Owner

Could it be that the image is damaged? Or you can try changing it to jpg format.

@balazon
Copy link

balazon commented Sep 15, 2023

Maybe related:
#5 (comment)

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