Skip to content

Commit

Permalink
Update quickdraw.py
Browse files Browse the repository at this point in the history
Minor cosmetic changes. The main reason I did this was to trigger another CI run.
  • Loading branch information
gnecula committed Apr 15, 2021
1 parent 9e3001b commit 29929a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jax/experimental/jax2tf/examples/tf_js/quickdraw/quickdraw.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
("Number of epochs to train for."))
flags.DEFINE_integer("num_classes", 100, "Number of classification classes.")

flags.register_validator('num_classes',
flags.register_validator("num_classes",
lambda value: value >= 1 and value <= 100,
message='--num_classes must be in range [1, 100]')
message="--num_classes must be in range [1, 100]")

FLAGS = flags.FLAGS

Expand Down

0 comments on commit 29929a8

Please sign in to comment.