Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

Commit

Permalink
added errors handling and updated req files
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianMeler committed May 14, 2019
1 parent 51b5608 commit e9819e4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion mnist.py
Expand Up @@ -22,6 +22,7 @@
from absl import app as absl_app
from absl import flags
import tensorflow as tf # pylint: disable=g-bad-import-order
from gradient_sdk.exceptions import ConfigError

gradient_sdk = True
try:
Expand Down Expand Up @@ -258,7 +259,7 @@ def main(_):
if gradient_sdk:
try:
get_tf_config()
except:
except ConfigError:
pass
define_mnist_flags()
# Print ENV Variables
Expand Down
3 changes: 3 additions & 0 deletions requirements-local.txt
@@ -0,0 +1,3 @@
-r requirements.txt
absl-py
tensorflow==1.13.1
4 changes: 1 addition & 3 deletions requirements.txt
Expand Up @@ -12,6 +12,4 @@ typing
matplotlib
gradient-sdk
pillow
requests
absl-py # for local run
tensorflow==1.13.1 # for local run
requests

0 comments on commit e9819e4

Please sign in to comment.