This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
example/image-classification/common/util.py get_gpus() exception #14199
Comments
Hey, this is the MXNet Label Bot. |
tahouse
changed the title
example/image-classification/common/util.py get_gpu exception
example/image-classification/common/util.py get_gpus() exception
Feb 19, 2019
@mxnet-label-bot add [Bug, python] |
frankfliu
added a commit
to frankfliu/incubator-mxnet
that referenced
this issue
Feb 20, 2019
4 tasks
frankfliu
added a commit
to frankfliu/incubator-mxnet
that referenced
this issue
Feb 21, 2019
frankfliu
added a commit
to frankfliu/incubator-mxnet
that referenced
this issue
Feb 21, 2019
1. Added get_gpus() and get_gpu_memory() API to python binding. 2. Update example script to use proper API for getting gpu numbers.
frankfliu
added a commit
to frankfliu/incubator-mxnet
that referenced
this issue
Feb 21, 2019
1. Added get_gpus() and get_gpu_memory() API to python binding. 2. Update example script to use proper API for getting gpu numbers.
frankfliu
added a commit
to frankfliu/incubator-mxnet
that referenced
this issue
Feb 21, 2019
1. Added get_gpus() and get_gpu_memory() API to python binding. 2. Update example script to use proper API for getting gpu numbers.
frankfliu
added a commit
to frankfliu/incubator-mxnet
that referenced
this issue
Feb 23, 2019
1. Added get_gpus() and get_gpu_memory() API to python binding. 2. Update example script to use proper API for getting gpu numbers.
frankfliu
added a commit
to frankfliu/incubator-mxnet
that referenced
this issue
Feb 25, 2019
1. Added get_gpus() and get_gpu_memory() API to python binding. 2. Update example script to use proper API for getting gpu numbers.
frankfliu
added a commit
to frankfliu/incubator-mxnet
that referenced
this issue
Mar 4, 2019
1. Added get_gpus() and get_gpu_memory() API to python binding. 2. Update example script to use proper API for getting gpu numbers.
wkcn
pushed a commit
that referenced
this issue
Mar 7, 2019
vdantu
pushed a commit
to vdantu/incubator-mxnet
that referenced
this issue
Mar 31, 2019
…he#14212) * Fixes apache#14199: use proper API get number of gpus. 1. Added get_gpus() and get_gpu_memory() API to python binding. 2. Update example script to use proper API for getting gpu numbers. * retrigger CI
nswamy
pushed a commit
that referenced
this issue
Apr 5, 2019
haohuanw
pushed a commit
to haohuanw/incubator-mxnet
that referenced
this issue
Jun 23, 2019
…he#14212) * Fixes apache#14199: use proper API get number of gpus. 1. Added get_gpus() and get_gpu_memory() API to python binding. 2. Update example script to use proper API for getting gpu numbers. * retrigger CI
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Note: Providing complete information in the most concise form is the best way to get help. This issue template serves as the checklist for essential information to most of the technical issues and bug reports. For non-technical issues and feature requests, feel free to present the information in what you believe is the best form.
For Q & A and discussion, please start a discussion thread at https://discuss.mxnet.io
Description
(Brief description of the problem in no more than 2 sentences.)
The try-except logic surrounding the call to nvidia-smi is not working for me. The exception type is not an OSError so it is not being caught. Instead, my exception type from missing nvidia-smi is "subprocess.CalledProcessError". Problem is fixed by just catching all exceptions, but you'll want to specify the mentioned exception.
Environment info (Required)
Running AWS Deep Learning AMI v21 (Ubuntu 16.04) on a c5.18xlarge. Conda pre-installed MXNet 1.3.1. No NVIDIA drivers present.
This issue has been raised before, but the try-except block does not catch this particular exception. See #8969
Package used (Python/R/Scala/Julia):
(I'm using ...)
Python
For Scala user, please provide:
java -version
)mvn -version
)scala -version
)For R user, please provide R
sessionInfo()
:Build info (Required if built from source)
Compiler (gcc/clang/mingw/visual studio):
MXNet commit hash:
(Paste the output of
git rev-parse HEAD
here.)3a6fe22
Build config:
(Paste the content of config.mk, or the build command.)
Error Message:
(Paste the complete error message, including stack trace.)
Minimum reproducible example
(If you are using your own code, please provide a short script that reproduces the error. Otherwise, please provide link to the existing example.)
see above using
benchmark_score.py
Steps to reproduce
(Paste the commands you ran that produced the error.)
What have you tried to solve it?
except:
The text was updated successfully, but these errors were encountered: