-
Notifications
You must be signed in to change notification settings - Fork 54
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
Test on the trained model #43
Comments
@aniketzz Thanks for interest. I donot use fcos_demo.py to show the result. But from the information you provided, it seems that there is a parameter about the number of the classes that needs to be changed to 1. |
@JialeCao001 I agree but I have made the changes in all the config files as well as the files that are been used. I do not understand where I am missing. Is there any way to test the model on a video or image? |
@aniketzz Are you sure that the output channel of training model is 1? it seems 80. |
@JialeCao001 Yes I have. Versions of relevant libraries: FCOS with improvementsMODEL: 2021-03-25 07:27:28,086 fcos_core INFO: Running with config: |
@aniketzz It seems no problem. I am not sure about the problem. Maybe you check the whole things again:) |
@JialeCao001 Can You please help me with the inference code to test the trained model on custom data? |
@aniketzz Hi aniketzz. I am sorry that I am not sure about the problem. I suggest you go through the inference step by step and check the paramter about classes carefully. |
@JialeCao001, recompiling the code fixed the issue. |
I have trained a model with 1 class in SipMask-benchmark. I want to run the inference script using my model. when I tried to execute demo/fcos_demo.py. I have changed the path to the weight file and changed the class values inside demo/fcos_demo.py and predictor.py.
I have renamed the model as FCOS_imprv_R_50_FPN_1x.pth
I got the below error
The text was updated successfully, but these errors were encountered: