Skip to content
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

How to convert segmentation model results into VNInstanceMaskObservation? #93

Open
darwinharianto opened this issue Sep 20, 2023 · 4 comments

Comments

@darwinharianto
Copy link

I can preview segmentation model on XCode by setting the type to imagesegmenter

mlmodel.user_defined_metadata["com.apple.coreml.model.preview.type"] = "imageSegmenter"

I think this has the same underlying data with VNInstanceMaskObservation

How do I convert the result from that model into it?

@Tranbaber
Copy link

@darwinharianto
Hello! I'm trying to train MobileViT model, but I'm having the following problem and am asking for help

File "C:\Users\72344.conda\envs\MobileViTv2\Scripts\cvnets-train.exe_main_.py", line 4, in ModuleNotFoundError: No module named 'main_train'

And I tried to download this module, but show
"ERROR: Could not find a version that satisfies the requirement main_train (from versions: none)
ERROR: No matching distribution found for main_train"

Can you tell what can I do? Thank you very much!

@darwinharianto
Copy link
Author

@Tranbaber
some people already gave the answers
#94
#78 (comment)

@Tranbaber
Copy link

@darwinharianto
Thank you very much!

@Tranbaber
Copy link

@darwinharianto
but now,it show that
"ModuleNotFoundError: No module named 'data.sampler'"
Can you tell me how should I do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants