Created
March 24, 2020 09:04
-
-
Save zldrobit/0b2d0e613bf0faa8a18e0a14aabf1931 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config = tf.ConfigProto() | |
config.gpu_options.allow_growth = True | |
sess = tf.Session(config=config) | |
config = tf.compat.v1.ConfigProto() | |
config.gpu_options.allow_growth = True | |
session = tf.compat.v1.InteractiveSession(config=config) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment