-
Notifications
You must be signed in to change notification settings - Fork 68
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
Download and compile model function fix #208
Conversation
DispatchQueue.main.async { | ||
completion(["mlmodel_url": location], nil) | ||
completion(["compiled_model_url": compiledUrl], nil) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will changing this break any existing code? I couldn't find anything referencing this string, is it used anywhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this function is used in model updates in cardverify
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it, so there will be a corresponding change in CardVerify here? makes sense, although this is breaking. Do we have any way of indicating which versions of CardVerify are compatible with which versions of CardScan?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes that is correct. We indicate compatibility in the cardverify podspec file, where cardverify's version dependency of cardscan is stated.
i can use an |
@jaimejiyepark In this case, let's skip it. For future changes that introduce new APIs that are not ready for public consumption, let's mark them as |
the downloaded task's temporary location gets emptied when the completion handler completes so the ml model compiling has to be done in the same function.