-
Hello, I am trying to run inference on a slp file I have annotated after running training for centered-instance and centroid on a separate HPCC. I was able to finally (at least I believe so) successfully train these two models and was able to export them back to my computer. Then I was able to reopen my slp file I annotated and went to run inference opening my training_config.json files for both centroid and centered instance respectively. I was able to then set parameters (see attached below) to what I believed made sense based on a similar setup I was shown by another student who has used the program. Then run inference and it gave me a result of inference ran on 20 frames. Instances were predicted on 20 frames (0 frames with no instances found). In the video I saw that it had predicted on only the first 20 frames instead of random as I had indicated and I am unsure as to why, I am still very new to SLEAP and any advice would be greatly appreciated. Best, Autumn |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
Hey @Asolee24, Inference can be found on the dark blue frames (in the bottom seek bar). You can turn off the tracker until you get predictions on all of your frames, since tracking needs predictions on consecutive frames. You have the simple tracker turned on right now. Best, Elizabeth |
Beta Was this translation helpful? Give feedback.
-
Hi @Asolee24, I think it likely has to do with trying to run inference on a .pkg.slp file - this file type is only intended to be exported for training not further annotation. The .pkg.slp file imbeds the images for select frames (based on your selection while exporting) which is why I believe it might be causing the problem. I will verify this. In the meantime, do you have access to the original .slp (not .pkg.slp) to further annotate with prediction-assisted labeling? Thanks, |
Beta Was this translation helpful? Give feedback.
Hi @Asolee24,
Yes, you are correct. To obtain the predictions that assist with labeling, you will need to run inference.
The problem here is that you are attempting to use the exported
.pkg.slp
for the prediction-assisted labeling (it is designed to be used for training on a different machine if your current machine doesn't have access to a GPU - not for adding more prediction/labels). Once you have run tr…