Created
June 12, 2020 08:43
-
-
Save trongan93/719ed503a5e9c081fbf88bf43630c9d5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
physical_devices = tf.config.experimental.list_physical_devices('GPU') | |
for physical_device in physical_devices: | |
tf.config.experimental.set_memory_growth(physical_device, True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment