-
Notifications
You must be signed in to change notification settings - Fork 15
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 problem on the new trained weights #23
Comments
In my idea, this problem is in the main_training.py or agent.py codes as each epoch calculated zero extracted_candidate_initial_vertices which are odd!!. Therefore, I am looking into the problem of not finding any vertices in each epoch. even though your existing pre-trained checkpoints are able to extract initial_vertices in each image. |
Sorry for the late reply. You may want to check the predicted segmentation map to generate the candidate initial vertices, which is visualized here. If no candidate initial vertices are predicted, it means the segmentation map is all zero. Since you use data from your own datasets, this may cauzed by different properties of different datasets. You may want to alter some parameters to make the segmentation network work properly. |
Thanks for your reply. I figured out that the problem was because of the low number of images in the dataset, and the model couldn't generate the right checkpoints for them. I thought, for the fine-tuning, the number and volume of the dataset didn't matter so much. but maybe I was wrong. |
Sorry that RNGDet/RNGDet++ is trained on conventional supervised learning, which does not consider pretrain-finetune pipeline. The provided checkpoints are not trained on enough data, so directly finetuning the checkpoints may not produce satisfactory results. I think you might need to enlarge your dataset and train the network from scratch instead of finetuning on a small amount of data. |
First thanks for releasing your nice code. I wanted to fine-tune your model on my own dataset but after finishing the finetuning process there is a problem in using the trained weights for testing and inferencing results. In addition, I couldn't re-train your dataset and use the generated weights. Even though the train finished successfully, in the inferencing I received the following error and I couldn't run the main_test.py.
ERROR:
for your better understanding, these are the arguments that I used to run codes.
for training, I ran:
for testing, I ran:
I am kindly asking for your help to solve this problem.
The text was updated successfully, but these errors were encountered: