Skip to content

Instantly share code, notes, and snippets.

@Beomi
Created August 20, 2019 05:09
Show Gist options
  • Save Beomi/f179199a15c0bd1172cc43fb5c524d4d to your computer and use it in GitHub Desktop.
Save Beomi/f179199a15c0bd1172cc43fb5c524d4d to your computer and use it in GitHub Desktop.
Cuda visible
import os
os.environ["CUDA_VISIBLE_DEVICES"]="2"
os.environ['CUDA_VISIBLE_DEVICES']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment