keras-resnet icon indicating copy to clipboard operation
keras-resnet copied to clipboard

Syntax warning due to comparison of literals using is in Python 3.8

Open tirkarthi opened this issue 4 years ago • 0 comments

find . -iname '*.py' | grep -Ev 'vendor|example|doc|tools|sphinx' | xargs -P4 -I{} python3.8 -Wall -m py_compile {}
./keras_resnet/benchmarks/__init__.py:74: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if benchmark is "MNIST":

tirkarthi avatar Jul 29 '20 14:07 tirkarthi