-
Notifications
You must be signed in to change notification settings - Fork 33
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
Error in loading your pretrained model #5
Comments
Can you please try to pull the latest code and try again. Issue should have been resolved. |
something similar happend when loading the model
|
The trained model provided in the Google Drive has also been updated. Did you try after downloading the latest versions of both the code as well as the trained model? |
I have updated the code(28/1/2021) and the model(14/1/2021) and the same problem still exists |
I cloned the repository at my end, downloaded the models and annotation files from the drive link and model was loaded without any problem. Just to confirm, can you please try using python version 3.6.11 and requirements.txt file as attached here? Let me know if the issue still persists. |
I can run the evaluation part without any error, but it happended when I try to predict a new picture using: config = InferenceConfig() model = modellib.MaskRCNN(mode='inference', |
Just to confirm, after you have pulled the latest code, did you execute "python setup.py install" from the root directory to install the new binaries? |
yes |
Hi sir, the issue I'm getting while loading the model
Can you please suggest the right approach..... |
@sachinraja13 Can you suggest the right way to loading the pre-trained models |
Hi @sachinraja13 , Can you please suggest how to evaluate model on input images , I am getting below error: |
Hi, I am trying to evaluate your trained model. However during loading the pre trained weights I am getting dimension related error in row_graph_gravnet_0 layer. Below is the error:
ValueError: Layer #421 (named "row_graph_gravnet_0") expects 12 weight(s), but the saved weights have 6 element(s).
I am not sure if I am missing something. In config only field related to row_graph_gravnet is GRAPH_NEIGHBORS = 20. Is there any other value need to be added. Appreciate your earliest response. Thanks
The text was updated successfully, but these errors were encountered: