-
Notifications
You must be signed in to change notification settings - Fork 617
Adding get Model for local downloads #2212
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
Conversation
…nconditional downloads at this time.
Coverage ReportAffected SDKsNo changes between base commit (00e6a8d) and head commit (49bc16a5). Test Logs
NotesHTML coverage reports can be produced locally with Head commit (49bc16a5) is created by Prow via merging commits: 00e6a8d a838a77. |
The public api surface has changed for the subproject firebase-ml-modeldownloader: Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly. |
Binary Size ReportAffected SDKs
Test Logs
NotesHead commit (97e3b0d6) is created by Prow via merging commits: 00e6a8d 999a7dc. |
...ase-ml-modeldownloader/src/main/java/com/google/firebase/ml/modeldownloader/CustomModel.java
Outdated
Show resolved
Hide resolved
...downloader/src/main/java/com/google/firebase/ml/modeldownloader/FirebaseModelDownloader.java
Outdated
Show resolved
Hide resolved
...downloader/src/main/java/com/google/firebase/ml/modeldownloader/FirebaseModelDownloader.java
Show resolved
Hide resolved
try { | ||
fileDescriptor = downloadManager.openDownloadedFile(downloadingId); | ||
} catch (FileNotFoundException e) { | ||
System.out.println("Downloaded file is not found"); |
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.
Log maybe?
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 - changing all these to logs in the next major PR. Just started working on it this morning.
.../src/main/java/com/google/firebase/ml/modeldownloader/internal/ModelFileDownloadService.java
Show resolved
Hide resolved
} | ||
|
||
if (statusCode == DownloadManager.STATUS_SUCCESSFUL) { | ||
System.out.println("Download Succeeded for id: " + id); |
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.
same
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.
same
...wnloader/src/main/java/com/google/firebase/ml/modeldownloader/internal/ModelFileManager.java
Outdated
Show resolved
Hide resolved
...wnloader/src/main/java/com/google/firebase/ml/modeldownloader/internal/ModelFileManager.java
Show resolved
Hide resolved
...wnloader/src/main/java/com/google/firebase/ml/modeldownloader/internal/ModelFileManager.java
Show resolved
Hide resolved
…ml/modeldownloader/CustomModel.java Co-authored-by: Rodrigo Lazo <[email protected]>
…ml/modeldownloader/FirebaseModelDownloader.java Co-authored-by: Rodrigo Lazo <[email protected]>
…ml/modeldownloader/internal/ModelFileManager.java Co-authored-by: Rodrigo Lazo <[email protected]>
/test smoke-tests |
1 similar comment
/test smoke-tests |
@annzimmer: The following test failed, say
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
@annzimmer BTW smoke-tests have been broken for a couple of days. @yifanyang can confirm whether this failure is related to that issues and if it's safe to ignore |
Yes, the smoke test has been failing since last weekend. I'm investigating/fixing multiple causes to it. This PR should have nothing to do with the failure. |
…nconditional downloads at this time.