"vscode:/vscode.git/clone" did not exist on "94b27fb8da1002a560449f4b8c0fc92e22115c40"
Unverified Commit 8ad1cbe0 authored by MissPenguin's avatar MissPenguin Committed by GitHub
Browse files

Merge pull request #557 from Sunny-wong/develop

Update dataset_traversal.py
parents d2e1eb5e b2e1a849
......@@ -237,7 +237,7 @@ class SimpleReader(object):
def get_device_num():
if self.use_gpu:
gpus = os.environ.get("CUDA_VISIBLE_DEVICES", 1)
gpus = os.environ.get("CUDA_VISIBLE_DEVICES", '1')
gpu_num = len(gpus.split(','))
return gpu_num
else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment