-
Notifications
You must be signed in to change notification settings - Fork 1
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
VQ-ResNet #72
VQ-ResNet #72
Conversation
- fix pipeline
- remove models/
- move resnet-base to root - fix vq-layer installation
- general: refactoring and clean-up - add EventListener in TrainingServer - define event-codes in gRPC - add functionality to execute bash-scripts
- fix GPU bug
- remove custom saver in ResNet - add new (model) name flag - use save_directory instead of global_checkpoint
VQ-ResNet Saving Fix
Gradient Accumulation
tf.logging.set_verbosity(tf.logging.DEBUG) | ||
tf.set_random_seed(15092017) | ||
|
||
tf.logging.set_verbosity(tf.logging.DEBUG) |
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.
Setting verbosity twice.
handler.setLevel(logging.DEBUG) | ||
handler.setFormatter(logging.Formatter('%(asctime)s - %(levelname)s - %(message)s')) | ||
tf_logger.handlers = [handler] # redirect tf.logging to stdout instead of stderr | ||
tf_logging.propagate = False |
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.
Move logger initialization into a utils.
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.
Good work, @FlorianPfisterer!
This PR contains an updated version of
resnet_base
with some extra features and, primarily, a VQResNet model which uses thevq-layer
module.