-
Notifications
You must be signed in to change notification settings - Fork 122
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
inference code not working #7
Comments
pretrained_weights is used for training. you need download trained weights in MODEL_ZOO.md @karan-shr |
@yangxue0827 thanks for the reply. Okay so this is what I did:
|
refer here |
I updated inference.py and you need to download the script again. @karan-shr |
Hi @yangxue0827, Based on your feedback, did the following:
Sadly, still no bounding boxes. Can you please test on the images i had mentioned in the first comment. Just to compare. Thanks for the feedback so far. Regards, |
my model is trained by DOTA dataset. which is very different from your images, so no results are normal. Maybe you need to retrain a model with your own data. @karan-shr |
Yes, i know the images are different. But in this case the bounding box should be wrongly placed, or over- or under-segment. But getting no bounding boxes on an image is also not normal. Ofcourse, I can retrain the model. But first to determine the efficacy of the code, I am trying your inference code with some simple examples. It should work, shouldn't it? Does the inference script work for you? |
Why not use the dota dataset for inference and use the test_dota_r3det.py script. |
I also encountered the same problem when running test_dota_r3det.py, and I have placed the file location according to the author's instructions, has your problem been solved? |
Hi,
I wanted to test the code by running inference on a couple of samples images i downloaded from the internet. But it's not working. Here are the steps that i followed:
data/pretrained_weights
and downloaded theresnet50
related ckpt files from GDrive into the directory. That is, the filesresnet50_v1d.ckpt.data-00000-of-00001
,resnet50_v1d.ckpt.index
andresnet50_v1d.ckpt.meta
.Am I doing something wrong? Could you please guide. Thanks in advance.
The text was updated successfully, but these errors were encountered: