Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Aborted (core dumped)
- os.environ[CUDA_VISIBLE_DEIVCES] = '0'
- config = tf.ConfigProto()
- config.gpu_options.allow_growth = True
- config.allow_soft_placement = True
- sess = tf.Session(config=config)
Add Comment
Please, Sign In to add comment