-
Notifications
You must be signed in to change notification settings - Fork 685
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
Clean up and add docs for BigGAN demo #1038
Conversation
Change-Id: If6bfbb4989a6054934bcf6dff8ace09ec729d08a
Codecov Report
@@ Coverage Diff @@
## master #1038 +/- ##
============================================
+ Coverage 69.99% 70.25% +0.26%
- Complexity 5109 5170 +61
============================================
Files 504 509 +5
Lines 22613 23125 +512
Branches 2372 2431 +59
============================================
+ Hits 15828 16247 +419
- Misses 5518 5571 +53
- Partials 1267 1307 +40
Continue to review full report at Codecov.
|
c9b46cf
to
0cec711
Compare
Let's put the images in our resources s3 bucket. |
6e052e9
to
d57fbbf
Compare
examples/docs/biggan.md
Outdated
|
||
Black Swan | Golden Retriever | Bubble | Alp | Cheeseburger | ||
:-------------------------:|:-------------------------: |:-------------------------: | :----------------------: | :----------------------: | ||
 | |  |  |  |
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.
use https://resources.djl.ai/images/... url
d57fbbf
to
6c076c6
Compare
@@ -181,6 +181,9 @@ public int hashCode() { | |||
* String}>. | |||
*/ | |||
Application WORD_RECOGNITION = new Application("cv/word_recognition"); | |||
|
|||
/** An application that accepts a seed and returns generated images. */ | |||
Application GAN = new Application("cv/gan"); |
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.
Maybe use Generator instead. A GAN is a technique and an Application is supposed to be a problem
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.
How about "GENERATION" to keep with the standard in Application?
Description
Remove all unnecessary classes from the BigGAN demo and reduced it from 5 to 3 files. I used an array as input to the translator instead of a sample-size parameter. I input the 'truncation' parameter as an argument in the criteria. Thus, the translator only needs to take an integer array of category-IDs.