-
Notifications
You must be signed in to change notification settings - Fork 558
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
Missing config : num_masks #515
Comments
Hey there! @lhkyyh, 😄 It seems like you are encountering an issue that raises an error: Perhaps you can resolve this by replacing your local YAML file with the following configuration: type: yolov8_seg
name: yolov8hz
display_name: yolov8hz
model_path: hz.onnx
nms_threshold: 0.20
confidence_threshold: 0.20
classes:
- '0'
- '1' Note:
Finally, you can inspect the input and output nodes of your ONNX file using Netron and paste the details here. |
input |
Thank you for your response. If you're still encountering issues, it's often helpful to try cloning the latest source code, as this can resolve many unknown errors that might be present in older versions. After you've cloned and run the latest source code, if the problem persists, please prepare a compressed package including the ONNX file, the YAML configuration file, and an image that you're certain should be detectable by the model. You can then send this package to the following email address for further assistance: [email protected]. Thank you for your cooperation! |
After testing your sending file, it seems that everything is normal. As memtion above, please using the latest source code via Btw, an optimal piece of advice would be to set the classes as defined in your ONNX file, rather than using ‘0’ or ‘1’: type: yolov8_seg
name: yolov8hz
display_name: yolov8hz
model_path: hz.onnx
nms_threshold: 0.20
confidence_threshold: 0.20
classes:
- crack
- blocky crack
|
Thanks for your help, it maybe my computer's problem , It runs well in other computer, good lucky to all of you |
Thank you for the update. I believe I might have identified a potential cause for the issue on your computer. It's possible that your environment was contaminated, perhaps by accidentally installing AnyLabeling. This can be resolved by running For the best practice, I recommend creating a new Conda environment and then reinstalling the dependencies with I'm glad to hear that it's running well on another computer. Wishing you all the best too! |
I get it,I create a new environment and replace a file named .anylabelingrc in my computer, it runs well now, Thanks so much again! |
When I load my trained model, I encounter this problem:Missing config : num_masks

The text was updated successfully, but these errors were encountered: