I got this error recently even after cloning the code from the actual repository https://github.com/lisa-lab/DeepLearningTutorials
I noticed that when I switched to another system where I had ubuntu 14.04 with a similar Anaconda version installed however with a different an newer GPU card a Titan X the problem went away. The original problem occurred with a Titan Black.
Hence, the problem might lie in any of the variables. It might be a GPU issue. However, I couldn't confirm this since the card worked fine for other code. Let me know if you find the solution.
Thursday, January 7, 2016
Permission on hard drive ubuntu
I had a hard drive I moved from one computer to another. It turned out that by switching computers I couldn't access the files on my hard drive since I didn't have the right permissions on the new computer. So what I ended up doing was to create a new group and change the group on the files on the hard drive recursively and then add my user name to the group just created. Anyhow, it seemed to work pretty good. This was taken from this post http://superuser.com/questions/280994/give-write-permissions-to-multiple-users-on-a-folder-in-ubuntu
sudo groupadd tomandruser
Now that the group exists, add the two users to it:
sudo usermod -a -G tomandruser tomcat6
sudo usermod -a -G tomandruser ruser
Now all that's left is to set the permissions on the directory:
sudo chgrp -R tomandruser /path/to/the/directory
sudo chmod -R 770 /path/to/the/directory
Tuesday, January 5, 2016
Installing Java 8 on Ubuntu 12.04
I found this link that has a pretty straight forward of doing it.
http://stackoverflow.com/questions/25729592/how-to-install-jdk-8-in-ubuntu-12-04-using-tar-gz-file
http://stackoverflow.com/questions/25729592/how-to-install-jdk-8-in-ubuntu-12-04-using-tar-gz-file
Friday, November 20, 2015
Installing Titan X drivers and Cuda 7.5 to Ubuntu 14.04 LTS
Download the installer
Then get rid of any Nvidia residuals, run the following command in a terminal
sudo apt-get remove --purge nvidia*
This may take a while, so be patient. Once it’s done, reboot your machine. At the login screen, don’t login just yet. Press Ctrl+Alt+F1 to switch to a text-based login, and switch to the directory which contains the downloaded driver. Run the following commands -
sudo service lightdm stop
change permissions to the installer where NVIDIA*.run is the full name of your driver.
chmod +x NVIDIA*.run
Next, start the installation with -
sudo ./NVIDIA*.run
Restart computer.
Titan X for CUDA 7.5 login-loop error [Ubuntu 14.04] after power out
My computer was not responding so I did a hard shut down and when it restarted I couldn't login.
I found for solutions and everything seemed to point that I needed to reinstall my drivers.
To get to this conclusion I inspected the .xsession_errors file and it told me I had a few errors. One of them was with team viwere so I did remove it
"GLX couldn't find display"
Some forums said to reinstall the drivers.
One easy way to reinstall the drivers is to do it through :
I found for solutions and everything seemed to point that I needed to reinstall my drivers.
To get to this conclusion I inspected the .xsession_errors file and it told me I had a few errors. One of them was with team viwere so I did remove it
sudo apt-get purge teamviewer
Another issue was an error that went something like this"GLX couldn't find display"
Some forums said to reinstall the drivers.
One easy way to reinstall the drivers is to do it through :
sudo add-apt-repository ppa:mamarley/nvidia sudo apt-get update sudo apt-get install nvidia-352where 352 is the latest driver for Titan X. I did this and reboot the system. After this I was able to login. However, I still needed to fix cuda because the new installation of drivers broke my cuda installation. How to fix the cuda part will be on another post. Good luck
Thursday, November 19, 2015
Install OpenCV 2.4.10 in Ubuntu 14.04 to work with Caffe
As I mentioned in previous posts. This is a tricky problem and can take quite some time to get the right versions and dependencies figured out. That is the joy or working with opencv, linux and caffe (sarcasm)
Here is a link to a script I used to get opencv working to use with caffe. I tried installing opencv 3.0 but failed because of some issues with that version. I also tried getting 2.4.9 installed and also failed because wasn't compatible with my cuda library since I have CUDA 7.0 and a Titan X.
After many tries, installing the dependecies in this link helped. Please share your solutions if you found some issues.
https://github.com/olivernina/ubuntu-scripts/blob/master/install-opencv.sh
I also found some useful information in this link :
http://milq.github.io/install-opencv-ubuntu-debian/
Also I noticed that it helped to add my libraries to my LD path
export LD_LIBRARY_PATH = $LD_LIBRARY_PATH:/usr/local/lib
And also anytime there was an error on compiling opencv and I needed to recompile it was better to erase the build directory and start all over. But of course everyone knows this right? :)
Here is a link to a script I used to get opencv working to use with caffe. I tried installing opencv 3.0 but failed because of some issues with that version. I also tried getting 2.4.9 installed and also failed because wasn't compatible with my cuda library since I have CUDA 7.0 and a Titan X.
After many tries, installing the dependecies in this link helped. Please share your solutions if you found some issues.
https://github.com/olivernina/ubuntu-scripts/blob/master/install-opencv.sh
I also found some useful information in this link :
http://milq.github.io/install-opencv-ubuntu-debian/
Also I noticed that it helped to add my libraries to my LD path
export LD_LIBRARY_PATH = $LD_LIBRARY_PATH:/usr/local/lib
And also anytime there was an error on compiling opencv and I needed to recompile it was better to erase the build directory and start all over. But of course everyone knows this right? :)
Thursday, November 12, 2015
Rename external hard drive in Linux
Usually hard drives have long names and you just want to rename them. One easy way to do that is by using label commands in Linux. For instance:
sudo ntfslabel /dev/sdd1 sea1
where sea1 is the new name.
You also need to know which drive is which to do that you can just do:
sudo fdisk -l
If you want to know which type of file system you have, you can do:
blkid /dev/sdd1
If you have exFAT then just use :
sudo exfatlabel /dev/sdd1 sea1
sudo ntfslabel /dev/sdd1 sea1
where sea1 is the new name.
You also need to know which drive is which to do that you can just do:
sudo fdisk -l
If you want to know which type of file system you have, you can do:
blkid /dev/sdd1
If you have exFAT then just use :
sudo exfatlabel /dev/sdd1 sea1
Subscribe to:
Posts (Atom)