Open jstromsoe opened 6 years ago
Just add Digits to your PATH DIGITS_ROOT=~/digits
How is that the DIGITS_ROOT ? I have the same problem. But there is no folder ~/digits after the successful installation in my case...
Did you install via Docker? If so the entire installation is essentially jailed in the docket container so the tools are in the docket container. There are several ways to deal with this, I simply cloned the entire repo into a different folder to be able to use the python tools on my host machine, leaving everything in the container alone. You would also in that case have to map a folder to the docket container from your host machine to dump the training data in. If you need real access to the container data structure itself, there are ways to ssh etc... into it, Google should help there.
Jeremy
On Fri, Mar 9, 2018 at 01:10 Sanja S notifications@github.com wrote:
How is that the DIGITS_ROOT ? I have the same problem. But there is no folder ~/digits after the successful installation in my case...
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/NVIDIA/DIGITS/issues/1973#issuecomment-371755900, or mute the thread https://github.com/notifications/unsubscribe-auth/AXnnDh8LAFKmjeqnF_-SqxHF0ukxUsqcks5tckcagaJpZM4SP3K7 .
--
Sincerely,
Jeremy Home Email: jstromsoe@gmail.com
Thanks a lot, Jeremy. That was helpful. For now, I am using ssh onto the docker container, as suggested here: http://docs.nvidia.com/deeplearning/digits/digits-user-guide/index.html
docker exec -it digits-17.04 bash
after that, python commands will work from inside the container.
sudo gedit ~/.bashrc
add /home/nvidia/digits(your digits home)
into PYTHONPATH
like this
export PYTHONPATH=/home/nvidia/caffe/python:$PYTHONPATH
change to
export PYTHONPATH=/home/nvidia/caffe/python:/home/nvidia/digits:$PYTHONPATH
1. Issue or feature description
Problem while trying to download data for digits to run using the normal python scripts.
When running the command I get an error that it seems like some folks have had (see issue #1146) but that I am unable to solve because I am using the latest and greatest version of DIGITS (not an old one).
2. Steps to reproduce the issue
Commands Run:
python -m digits.download_data mnist ~/mnist
3. Information to attach (optional if deemed irrelevant)
[ ] Kernel: 4.4.0-112-generic
[ ] dmesg: N/A
[ ] Driver information from
nvidia-smi -a
dpkg -l '*nvidia*'
orrpm -qa '*nvidia*'
nvidia-container-cli -V
ADDITIONAL INFO: Hey all, pretty new to DIGITS but with at little help from @flx42 I got it installed and running in a docker container. That being said I wanted to go through the walkthrough example much like others have done , using DIGITS 6.0 but when I run the first bit of python code I get the same error message as in this thread.
python -m digits.download_data mnist ~/mnist
I realize the reason that I get this error is because indeed I do not have the python tools in the DIGITS repo because I installed everything in docker. NOW before I just go and clone the whole thing which is what I imagine folks did if they built it from source somewhere in git just so I can use the Python tools my question is:
Is there a way that folks who went the Docker route are supposed to take advantage of the tools in the repo ? Specifically this one for the walkthrough?
Confession: I could be really confused and perhaps somewhere in Docker there is an obvious way for me to use the Python tools in this repo, just not experienced enough with this to know.